| | |
| | | private String copyId; |
| | | private String staffName; |
| | | private String state; |
| | | private String stateName; |
| | | private String communityId; |
| | | private String storeId; |
| | | private String workId; |
| | |
| | | public void setWorkIds(String[] workIds) { |
| | | this.workIds = workIds; |
| | | } |
| | | |
| | | public String getStateName() { |
| | | return stateName; |
| | | } |
| | | |
| | | public void setStateName(String stateName) { |
| | | this.stateName = stateName; |
| | | } |
| | | } |
| | |
| | | <select id="getWorkCopyInfo" parameterType="Map" resultType="Map"> |
| | | select t.copy_id,t.copy_id copyId,t.staff_name,t.staff_name staffName,t.status_cd,t.status_cd |
| | | statusCd,t.state,t.community_id,t.community_id communityId,t.store_id,t.store_id storeId,t.work_id,t.work_id |
| | | workId,t.staff_id,t.staff_id staffId,t.create_time createTime |
| | | workId,t.staff_id,t.staff_id staffId,t.create_time createTime,td.`name` stateName |
| | | from work_copy t |
| | | left join t_dict td on t.state = td.status_cd and td.table_name = 'work_pool' and td.table_columns = 'state' |
| | | where 1 =1 |
| | | <if test="copyId !=null and copyId != ''"> |
| | | and t.copy_id= #{copyId} |
| | |
| | | * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下 |
| | | * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行 |
| | | */ |
| | | @Java110Cmd(serviceCode = "workCopy.listWorkCopy") |
| | | @Java110Cmd(serviceCode = "work.listWorkCopy") |
| | | public class ListWorkCopyCmd extends Cmd { |
| | | |
| | | private static Logger logger = LoggerFactory.getLogger(ListWorkCopyCmd.class); |
| | |
| | | public List<Map> getWorkCopyInfo(Map info) throws DAOException { |
| | | logger.debug("查询 getWorkCopyInfo 入参 info : {}",info); |
| | | |
| | | List<Map> businessWorkCopyInfos = sqlSessionTemplate.selectList("workCopyV1ServiceDaoImpl.getWorkCopyInfo",info); |
| | | List<Map> infos = sqlSessionTemplate.selectList("workCopyV1ServiceDaoImpl.getWorkCopyInfo",info); |
| | | |
| | | return businessWorkCopyInfos; |
| | | return infos; |
| | | } |
| | | |
| | | |