Sfoglia il codice sorgente

feat: 积分包回显有效任务类型

李学松 2 anni fa
parent
commit
c76a827eae

+ 8 - 0
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/service/impl/WmScoreTaskTypeServiceImpl.java

@@ -100,6 +100,14 @@ public class WmScoreTaskTypeServiceImpl extends ServiceImpl<WmScoreTaskTypeMappe
 				continue;
 			}
 
+			if (StrUtil.equals("47", type.getId())) {
+				type.setTaskTypeName("药店推广");
+			}
+			if (StrUtil.equals("48", type.getId()) || StrUtil.equals("49", type.getId()) || StrUtil.equals("50", type.getId())) {
+				// 47,库存调研 48,竞品调研  49,培训 50,使用情况调查 统一回显为一个‘药店推广’
+				continue;
+			}
+
 			if(resultMap.containsKey(type.getParentId())){
 				String typeName = resultMap.get(type.getParentId());
 				typeName = typeName +";"+ type.getTaskTypeName();