217 changed files with 8691 additions and 6933 deletions
-
155xm-core/src/main/java/com/xm/core/ctrl/XmCollectController.java
-
155xm-core/src/main/java/com/xm/core/ctrl/XmCollectLinkController.java
-
155xm-core/src/main/java/com/xm/core/ctrl/XmMenuExchangeController.java
-
155xm-core/src/main/java/com/xm/core/ctrl/XmMyFootPrintController.java
-
155xm-core/src/main/java/com/xm/core/ctrl/XmProductVersionController.java
-
155xm-core/src/main/java/com/xm/core/ctrl/XmProjectEnvListController.java
-
155xm-core/src/main/java/com/xm/core/ctrl/XmQuestionWorkloadController.java
-
155xm-core/src/main/java/com/xm/core/ctrl/XmTaskCommentController.java
-
155xm-core/src/main/java/com/xm/core/ctrl/XmTaskWorkloadController.java
-
881xm-core/src/main/java/com/xm/core/entity/XmBranchStateHis.java
-
291xm-core/src/main/java/com/xm/core/entity/XmBranchTaskTypeState.java
-
34xm-core/src/main/java/com/xm/core/entity/XmBudgetLabor.java
-
31xm-core/src/main/java/com/xm/core/entity/XmBudgetNlabor.java
-
65xm-core/src/main/java/com/xm/core/entity/XmCollect.java
-
44xm-core/src/main/java/com/xm/core/entity/XmCollectLink.java
-
38xm-core/src/main/java/com/xm/core/entity/XmCostNlabor.java
-
46xm-core/src/main/java/com/xm/core/entity/XmEnvList.java
-
26xm-core/src/main/java/com/xm/core/entity/XmFunc.java
-
39xm-core/src/main/java/com/xm/core/entity/XmIteration.java
-
85xm-core/src/main/java/com/xm/core/entity/XmIterationState.java
-
912xm-core/src/main/java/com/xm/core/entity/XmIterationStateHis.java
-
62xm-core/src/main/java/com/xm/core/entity/XmMenu.java
-
37xm-core/src/main/java/com/xm/core/entity/XmMenuComment.java
-
129xm-core/src/main/java/com/xm/core/entity/XmMenuExchange.java
-
654xm-core/src/main/java/com/xm/core/entity/XmMenuState.java
-
43xm-core/src/main/java/com/xm/core/entity/XmMyFocus.java
-
79xm-core/src/main/java/com/xm/core/entity/XmMyFootPrint.java
-
52xm-core/src/main/java/com/xm/core/entity/XmProduct.java
-
33xm-core/src/main/java/com/xm/core/entity/XmProductProjectLink.java
-
904xm-core/src/main/java/com/xm/core/entity/XmProductState.java
-
912xm-core/src/main/java/com/xm/core/entity/XmProductStateHis.java
-
86xm-core/src/main/java/com/xm/core/entity/XmProductVersion.java
-
80xm-core/src/main/java/com/xm/core/entity/XmProject.java
-
109xm-core/src/main/java/com/xm/core/entity/XmProjectEnvList.java
-
230xm-core/src/main/java/com/xm/core/entity/XmProjectKpi.java
-
256xm-core/src/main/java/com/xm/core/entity/XmProjectKpiHis.java
-
891xm-core/src/main/java/com/xm/core/entity/XmProjectState.java
-
899xm-core/src/main/java/com/xm/core/entity/XmProjectStateHis.java
-
73xm-core/src/main/java/com/xm/core/entity/XmQuestion.java
-
258xm-core/src/main/java/com/xm/core/entity/XmQuestionHandle.java
-
106xm-core/src/main/java/com/xm/core/entity/XmQuestionWorkload.java
-
43xm-core/src/main/java/com/xm/core/entity/XmRecord.java
-
27xm-core/src/main/java/com/xm/core/entity/XmRptConfig.java
-
42xm-core/src/main/java/com/xm/core/entity/XmRptData.java
-
121xm-core/src/main/java/com/xm/core/entity/XmTask.java
-
46xm-core/src/main/java/com/xm/core/entity/XmTaskBidOrder.java
-
114xm-core/src/main/java/com/xm/core/entity/XmTaskComment.java
-
35xm-core/src/main/java/com/xm/core/entity/XmTaskEval.java
-
79xm-core/src/main/java/com/xm/core/entity/XmTaskExecuser.java
-
70xm-core/src/main/java/com/xm/core/entity/XmTaskOrder.java
-
334xm-core/src/main/java/com/xm/core/entity/XmTaskSbill.java
-
30xm-core/src/main/java/com/xm/core/entity/XmTaskSkill.java
-
142xm-core/src/main/java/com/xm/core/entity/XmTaskWorkload.java
-
54xm-core/src/main/java/com/xm/core/entity/XmTestCase.java
-
46xm-core/src/main/java/com/xm/core/entity/XmTestCasedb.java
-
86xm-core/src/main/java/com/xm/core/entity/XmTestPlan.java
-
47xm-core/src/main/java/com/xm/core/entity/XmTestPlanCase.java
-
54xm-core/src/main/java/com/xm/core/entity/XmWorkload.java
-
28xm-core/src/main/java/com/xm/core/mapper/XmBranchStateHisMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmBranchStateHisMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmBranchStateMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmBranchStateMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmBranchTaskTypeStateMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmBranchTaskTypeStateMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmBudgetLaborMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmBudgetLaborMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmBudgetNlaborMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmBudgetNlaborMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmCollectLinkMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmCollectLinkMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmCollectMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmCollectMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmCostNlaborMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmCostNlaborMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmEnvListMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmEnvListMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmFuncMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmFuncMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmIterationMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmIterationMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmIterationStateHisMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmIterationStateHisMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmIterationStateMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmIterationStateMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmMenuCommentMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmMenuCommentMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmMenuExchangeMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmMenuExchangeMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmMenuMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmMenuMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmMenuStateMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmMenuStateMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmMyFocusMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmMyFocusMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmMyFootPrintMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmMyFootPrintMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmProductMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmProductMapper.xml
-
28xm-core/src/main/java/com/xm/core/mapper/XmProductProjectLinkMapper.java
-
17xm-core/src/main/java/com/xm/core/mapper/XmProductProjectLinkMapper.xml
@ -0,0 +1,155 @@ |
|||
package com.xm.core.ctrl; |
|||
|
|||
import java.util.*; |
|||
import java.util.stream.Collectors; |
|||
import org.slf4j.Logger; |
|||
import org.slf4j.LoggerFactory; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.util.StringUtils; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import io.swagger.annotations.*; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|||
import com.mdp.core.entity.Result; |
|||
import com.mdp.core.query.QueryTools; |
|||
import static com.mdp.core.utils.BaseUtils.*; |
|||
import com.mdp.core.entity.Tips; |
|||
import com.mdp.core.entity.LangTips; |
|||
import com.mdp.core.err.BizException; |
|||
import com.mdp.core.utils.RequestUtils; |
|||
import com.mdp.core.utils.NumberUtil; |
|||
import com.mdp.safe.client.entity.User; |
|||
import com.mdp.safe.client.utils.LoginUtils; |
|||
import com.mdp.swagger.ApiEntityParams; |
|||
import io.swagger.annotations.*; |
|||
import springfox.documentation.annotations.ApiIgnore; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
|
|||
import com.xm.core.service.XmCollectService; |
|||
import com.xm.core.entity.XmCollect; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping(value="/xm/core/xmCollect") |
|||
@Api(tags={"xm_collect-操作接口"}) |
|||
public class XmCollectController { |
|||
|
|||
static Logger logger =LoggerFactory.getLogger(XmCollectController.class); |
|||
|
|||
@Autowired |
|||
private XmCollectService xmCollectService; |
|||
|
|||
@ApiOperation( value = "xm_collect-查询列表",notes=" ") |
|||
@ApiEntityParams(XmCollect.class) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmCollect.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'错误码'},total:总记录数,data:[数据对象1,数据对象2,...]}") |
|||
}) |
|||
@RequestMapping(value="/list",method=RequestMethod.GET) |
|||
public Result listXmCollect(@ApiIgnore @RequestParam Map<String,Object> params){ |
|||
User user=LoginUtils.getCurrentUserInfo(); |
|||
QueryWrapper<XmCollect> qw = QueryTools.initQueryWrapper(XmCollect.class , params); |
|||
IPage page=QueryTools.initPage(params); |
|||
List<Map<String,Object>> datas = xmCollectService.selectListMapByWhere(page,qw,params); |
|||
return Result.ok("query-ok","查询成功").setData(datas).setTotal(page.getTotal()); |
|||
} |
|||
|
|||
|
|||
@ApiOperation( value = "xm_collect-新增",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmCollect.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/add",method=RequestMethod.POST) |
|||
public Result addXmCollect(@RequestBody XmCollect xmCollect) { |
|||
xmCollectService.save(xmCollect); |
|||
return Result.ok("add-ok","添加成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "xm_collect-删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}") |
|||
}) |
|||
@RequestMapping(value="/del",method=RequestMethod.POST) |
|||
public Result delXmCollect(@RequestBody XmCollect xmCollect){ |
|||
xmCollectService.removeById(xmCollect); |
|||
return Result.ok("del-ok","删除成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "xm_collect-修改",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmCollect.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/edit",method=RequestMethod.POST) |
|||
public Result editXmCollect(@RequestBody XmCollect xmCollect) { |
|||
xmCollectService.updateById(xmCollect); |
|||
return Result.ok("edit-ok","修改成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "xm_collect-批量修改某些字段",notes="") |
|||
@ApiEntityParams( value = XmCollect.class, props={ }, remark = "xm_collect", paramType = "body" ) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmCollect.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/editSomeFields",method=RequestMethod.POST) |
|||
public Result editSomeFields( @ApiIgnore @RequestBody Map<String,Object> params) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
xmCollectService.editSomeFields(params); |
|||
return Result.ok("edit-ok","更新成功"); |
|||
} |
|||
|
|||
@ApiOperation( value = "xm_collect-批量删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}") |
|||
}) |
|||
@RequestMapping(value="/batchDel",method=RequestMethod.POST) |
|||
public Result batchDelXmCollect(@RequestBody List<XmCollect> xmCollects) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
if(xmCollects.size()<=0){ |
|||
return Result.error("batchDel-data-err-0","请上送待删除数据列表"); |
|||
} |
|||
List<XmCollect> datasDb=xmCollectService.listByIds(xmCollects.stream().map(i-> i.getId() ).collect(Collectors.toList())); |
|||
|
|||
List<XmCollect> can=new ArrayList<>(); |
|||
List<XmCollect> no=new ArrayList<>(); |
|||
for (XmCollect data : datasDb) { |
|||
if(true){ |
|||
can.add(data); |
|||
}else{ |
|||
no.add(data); |
|||
} |
|||
} |
|||
List<String> msgs=new ArrayList<>(); |
|||
if(can.size()>0){ |
|||
xmCollectService.removeByIds(can); |
|||
msgs.add(LangTips.transMsg("del-ok-num","成功删除%s条数据.",can.size())); |
|||
} |
|||
|
|||
if(no.size()>0){ |
|||
msgs.add(LangTips.transMsg("not-allow-del-num","以下%s条数据不能删除:【%s】",no.size(),no.stream().map(i-> i.getId() ).collect(Collectors.joining(",")))); |
|||
} |
|||
if(can.size()>0){ |
|||
return Result.ok(msgs.stream().collect(Collectors.joining())); |
|||
}else { |
|||
return Result.error(msgs.stream().collect(Collectors.joining())); |
|||
} |
|||
} |
|||
|
|||
@ApiOperation( value = "xm_collect-根据主键查询一条数据",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmCollect.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/queryById",method=RequestMethod.GET) |
|||
public Result queryById(XmCollect xmCollect) { |
|||
XmCollect data = (XmCollect) xmCollectService.getById(xmCollect); |
|||
return Result.ok().setData(data); |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,155 @@ |
|||
package com.xm.core.ctrl; |
|||
|
|||
import java.util.*; |
|||
import java.util.stream.Collectors; |
|||
import org.slf4j.Logger; |
|||
import org.slf4j.LoggerFactory; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.util.StringUtils; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import io.swagger.annotations.*; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|||
import com.mdp.core.entity.Result; |
|||
import com.mdp.core.query.QueryTools; |
|||
import static com.mdp.core.utils.BaseUtils.*; |
|||
import com.mdp.core.entity.Tips; |
|||
import com.mdp.core.entity.LangTips; |
|||
import com.mdp.core.err.BizException; |
|||
import com.mdp.core.utils.RequestUtils; |
|||
import com.mdp.core.utils.NumberUtil; |
|||
import com.mdp.safe.client.entity.User; |
|||
import com.mdp.safe.client.utils.LoginUtils; |
|||
import com.mdp.swagger.ApiEntityParams; |
|||
import io.swagger.annotations.*; |
|||
import springfox.documentation.annotations.ApiIgnore; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
|
|||
import com.xm.core.service.XmCollectLinkService; |
|||
import com.xm.core.entity.XmCollectLink; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping(value="/xm/core/xmCollectLink") |
|||
@Api(tags={"xm_collect_link-操作接口"}) |
|||
public class XmCollectLinkController { |
|||
|
|||
static Logger logger =LoggerFactory.getLogger(XmCollectLinkController.class); |
|||
|
|||
@Autowired |
|||
private XmCollectLinkService xmCollectLinkService; |
|||
|
|||
@ApiOperation( value = "xm_collect_link-查询列表",notes=" ") |
|||
@ApiEntityParams(XmCollectLink.class) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmCollectLink.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'错误码'},total:总记录数,data:[数据对象1,数据对象2,...]}") |
|||
}) |
|||
@RequestMapping(value="/list",method=RequestMethod.GET) |
|||
public Result listXmCollectLink(@ApiIgnore @RequestParam Map<String,Object> params){ |
|||
User user=LoginUtils.getCurrentUserInfo(); |
|||
QueryWrapper<XmCollectLink> qw = QueryTools.initQueryWrapper(XmCollectLink.class , params); |
|||
IPage page=QueryTools.initPage(params); |
|||
List<Map<String,Object>> datas = xmCollectLinkService.selectListMapByWhere(page,qw,params); |
|||
return Result.ok("query-ok","查询成功").setData(datas).setTotal(page.getTotal()); |
|||
} |
|||
|
|||
|
|||
@ApiOperation( value = "xm_collect_link-新增",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmCollectLink.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/add",method=RequestMethod.POST) |
|||
public Result addXmCollectLink(@RequestBody XmCollectLink xmCollectLink) { |
|||
xmCollectLinkService.save(xmCollectLink); |
|||
return Result.ok("add-ok","添加成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "xm_collect_link-删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}") |
|||
}) |
|||
@RequestMapping(value="/del",method=RequestMethod.POST) |
|||
public Result delXmCollectLink(@RequestBody XmCollectLink xmCollectLink){ |
|||
xmCollectLinkService.removeById(xmCollectLink); |
|||
return Result.ok("del-ok","删除成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "xm_collect_link-修改",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmCollectLink.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/edit",method=RequestMethod.POST) |
|||
public Result editXmCollectLink(@RequestBody XmCollectLink xmCollectLink) { |
|||
xmCollectLinkService.updateById(xmCollectLink); |
|||
return Result.ok("edit-ok","修改成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "xm_collect_link-批量修改某些字段",notes="") |
|||
@ApiEntityParams( value = XmCollectLink.class, props={ }, remark = "xm_collect_link", paramType = "body" ) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmCollectLink.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/editSomeFields",method=RequestMethod.POST) |
|||
public Result editSomeFields( @ApiIgnore @RequestBody Map<String,Object> params) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
xmCollectLinkService.editSomeFields(params); |
|||
return Result.ok("edit-ok","更新成功"); |
|||
} |
|||
|
|||
@ApiOperation( value = "xm_collect_link-批量删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}") |
|||
}) |
|||
@RequestMapping(value="/batchDel",method=RequestMethod.POST) |
|||
public Result batchDelXmCollectLink(@RequestBody List<XmCollectLink> xmCollectLinks) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
if(xmCollectLinks.size()<=0){ |
|||
return Result.error("batchDel-data-err-0","请上送待删除数据列表"); |
|||
} |
|||
List<XmCollectLink> datasDb=xmCollectLinkService.listByIds(xmCollectLinks.stream().map(i-> i.getCollectId() ).collect(Collectors.toList())); |
|||
|
|||
List<XmCollectLink> can=new ArrayList<>(); |
|||
List<XmCollectLink> no=new ArrayList<>(); |
|||
for (XmCollectLink data : datasDb) { |
|||
if(true){ |
|||
can.add(data); |
|||
}else{ |
|||
no.add(data); |
|||
} |
|||
} |
|||
List<String> msgs=new ArrayList<>(); |
|||
if(can.size()>0){ |
|||
xmCollectLinkService.removeByIds(can); |
|||
msgs.add(LangTips.transMsg("del-ok-num","成功删除%s条数据.",can.size())); |
|||
} |
|||
|
|||
if(no.size()>0){ |
|||
msgs.add(LangTips.transMsg("not-allow-del-num","以下%s条数据不能删除:【%s】",no.size(),no.stream().map(i-> i.getCollectId() ).collect(Collectors.joining(",")))); |
|||
} |
|||
if(can.size()>0){ |
|||
return Result.ok(msgs.stream().collect(Collectors.joining())); |
|||
}else { |
|||
return Result.error(msgs.stream().collect(Collectors.joining())); |
|||
} |
|||
} |
|||
|
|||
@ApiOperation( value = "xm_collect_link-根据主键查询一条数据",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmCollectLink.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/queryById",method=RequestMethod.GET) |
|||
public Result queryById(XmCollectLink xmCollectLink) { |
|||
XmCollectLink data = (XmCollectLink) xmCollectLinkService.getById(xmCollectLink); |
|||
return Result.ok().setData(data); |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,155 @@ |
|||
package com.xm.core.ctrl; |
|||
|
|||
import java.util.*; |
|||
import java.util.stream.Collectors; |
|||
import org.slf4j.Logger; |
|||
import org.slf4j.LoggerFactory; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.util.StringUtils; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import io.swagger.annotations.*; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|||
import com.mdp.core.entity.Result; |
|||
import com.mdp.core.query.QueryTools; |
|||
import static com.mdp.core.utils.BaseUtils.*; |
|||
import com.mdp.core.entity.Tips; |
|||
import com.mdp.core.entity.LangTips; |
|||
import com.mdp.core.err.BizException; |
|||
import com.mdp.core.utils.RequestUtils; |
|||
import com.mdp.core.utils.NumberUtil; |
|||
import com.mdp.safe.client.entity.User; |
|||
import com.mdp.safe.client.utils.LoginUtils; |
|||
import com.mdp.swagger.ApiEntityParams; |
|||
import io.swagger.annotations.*; |
|||
import springfox.documentation.annotations.ApiIgnore; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
|
|||
import com.xm.core.service.XmMenuExchangeService; |
|||
import com.xm.core.entity.XmMenuExchange; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping(value="/xm/core/xmMenuExchange") |
|||
@Api(tags={"功能表-操作接口"}) |
|||
public class XmMenuExchangeController { |
|||
|
|||
static Logger logger =LoggerFactory.getLogger(XmMenuExchangeController.class); |
|||
|
|||
@Autowired |
|||
private XmMenuExchangeService xmMenuExchangeService; |
|||
|
|||
@ApiOperation( value = "功能表-查询列表",notes=" ") |
|||
@ApiEntityParams(XmMenuExchange.class) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmMenuExchange.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'错误码'},total:总记录数,data:[数据对象1,数据对象2,...]}") |
|||
}) |
|||
@RequestMapping(value="/list",method=RequestMethod.GET) |
|||
public Result listXmMenuExchange(@ApiIgnore @RequestParam Map<String,Object> params){ |
|||
User user=LoginUtils.getCurrentUserInfo(); |
|||
QueryWrapper<XmMenuExchange> qw = QueryTools.initQueryWrapper(XmMenuExchange.class , params); |
|||
IPage page=QueryTools.initPage(params); |
|||
List<Map<String,Object>> datas = xmMenuExchangeService.selectListMapByWhere(page,qw,params); |
|||
return Result.ok("query-ok","查询成功").setData(datas).setTotal(page.getTotal()); |
|||
} |
|||
|
|||
|
|||
@ApiOperation( value = "功能表-新增",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmMenuExchange.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/add",method=RequestMethod.POST) |
|||
public Result addXmMenuExchange(@RequestBody XmMenuExchange xmMenuExchange) { |
|||
xmMenuExchangeService.save(xmMenuExchange); |
|||
return Result.ok("add-ok","添加成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "功能表-删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}") |
|||
}) |
|||
@RequestMapping(value="/del",method=RequestMethod.POST) |
|||
public Result delXmMenuExchange(@RequestBody XmMenuExchange xmMenuExchange){ |
|||
xmMenuExchangeService.removeById(xmMenuExchange); |
|||
return Result.ok("del-ok","删除成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "功能表-修改",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmMenuExchange.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/edit",method=RequestMethod.POST) |
|||
public Result editXmMenuExchange(@RequestBody XmMenuExchange xmMenuExchange) { |
|||
xmMenuExchangeService.updateById(xmMenuExchange); |
|||
return Result.ok("edit-ok","修改成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "功能表-批量修改某些字段",notes="") |
|||
@ApiEntityParams( value = XmMenuExchange.class, props={ }, remark = "功能表", paramType = "body" ) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmMenuExchange.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/editSomeFields",method=RequestMethod.POST) |
|||
public Result editSomeFields( @ApiIgnore @RequestBody Map<String,Object> params) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
xmMenuExchangeService.editSomeFields(params); |
|||
return Result.ok("edit-ok","更新成功"); |
|||
} |
|||
|
|||
@ApiOperation( value = "功能表-批量删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}") |
|||
}) |
|||
@RequestMapping(value="/batchDel",method=RequestMethod.POST) |
|||
public Result batchDelXmMenuExchange(@RequestBody List<XmMenuExchange> xmMenuExchanges) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
if(xmMenuExchanges.size()<=0){ |
|||
return Result.error("batchDel-data-err-0","请上送待删除数据列表"); |
|||
} |
|||
List<XmMenuExchange> datasDb=xmMenuExchangeService.listByIds(xmMenuExchanges.stream().map(i-> i.getId() ).collect(Collectors.toList())); |
|||
|
|||
List<XmMenuExchange> can=new ArrayList<>(); |
|||
List<XmMenuExchange> no=new ArrayList<>(); |
|||
for (XmMenuExchange data : datasDb) { |
|||
if(true){ |
|||
can.add(data); |
|||
}else{ |
|||
no.add(data); |
|||
} |
|||
} |
|||
List<String> msgs=new ArrayList<>(); |
|||
if(can.size()>0){ |
|||
xmMenuExchangeService.removeByIds(can); |
|||
msgs.add(LangTips.transMsg("del-ok-num","成功删除%s条数据.",can.size())); |
|||
} |
|||
|
|||
if(no.size()>0){ |
|||
msgs.add(LangTips.transMsg("not-allow-del-num","以下%s条数据不能删除:【%s】",no.size(),no.stream().map(i-> i.getId() ).collect(Collectors.joining(",")))); |
|||
} |
|||
if(can.size()>0){ |
|||
return Result.ok(msgs.stream().collect(Collectors.joining())); |
|||
}else { |
|||
return Result.error(msgs.stream().collect(Collectors.joining())); |
|||
} |
|||
} |
|||
|
|||
@ApiOperation( value = "功能表-根据主键查询一条数据",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmMenuExchange.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/queryById",method=RequestMethod.GET) |
|||
public Result queryById(XmMenuExchange xmMenuExchange) { |
|||
XmMenuExchange data = (XmMenuExchange) xmMenuExchangeService.getById(xmMenuExchange); |
|||
return Result.ok().setData(data); |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,155 @@ |
|||
package com.xm.core.ctrl; |
|||
|
|||
import java.util.*; |
|||
import java.util.stream.Collectors; |
|||
import org.slf4j.Logger; |
|||
import org.slf4j.LoggerFactory; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.util.StringUtils; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import io.swagger.annotations.*; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|||
import com.mdp.core.entity.Result; |
|||
import com.mdp.core.query.QueryTools; |
|||
import static com.mdp.core.utils.BaseUtils.*; |
|||
import com.mdp.core.entity.Tips; |
|||
import com.mdp.core.entity.LangTips; |
|||
import com.mdp.core.err.BizException; |
|||
import com.mdp.core.utils.RequestUtils; |
|||
import com.mdp.core.utils.NumberUtil; |
|||
import com.mdp.safe.client.entity.User; |
|||
import com.mdp.safe.client.utils.LoginUtils; |
|||
import com.mdp.swagger.ApiEntityParams; |
|||
import io.swagger.annotations.*; |
|||
import springfox.documentation.annotations.ApiIgnore; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
|
|||
import com.xm.core.service.XmMyFootPrintService; |
|||
import com.xm.core.entity.XmMyFootPrint; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping(value="/xm/core/xmMyFootPrint") |
|||
@Api(tags={"我关注的项目或者任务-操作接口"}) |
|||
public class XmMyFootPrintController { |
|||
|
|||
static Logger logger =LoggerFactory.getLogger(XmMyFootPrintController.class); |
|||
|
|||
@Autowired |
|||
private XmMyFootPrintService xmMyFootPrintService; |
|||
|
|||
@ApiOperation( value = "我关注的项目或者任务-查询列表",notes=" ") |
|||
@ApiEntityParams(XmMyFootPrint.class) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmMyFootPrint.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'错误码'},total:总记录数,data:[数据对象1,数据对象2,...]}") |
|||
}) |
|||
@RequestMapping(value="/list",method=RequestMethod.GET) |
|||
public Result listXmMyFootPrint(@ApiIgnore @RequestParam Map<String,Object> params){ |
|||
User user=LoginUtils.getCurrentUserInfo(); |
|||
QueryWrapper<XmMyFootPrint> qw = QueryTools.initQueryWrapper(XmMyFootPrint.class , params); |
|||
IPage page=QueryTools.initPage(params); |
|||
List<Map<String,Object>> datas = xmMyFootPrintService.selectListMapByWhere(page,qw,params); |
|||
return Result.ok("query-ok","查询成功").setData(datas).setTotal(page.getTotal()); |
|||
} |
|||
|
|||
|
|||
@ApiOperation( value = "我关注的项目或者任务-新增",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmMyFootPrint.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/add",method=RequestMethod.POST) |
|||
public Result addXmMyFootPrint(@RequestBody XmMyFootPrint xmMyFootPrint) { |
|||
xmMyFootPrintService.save(xmMyFootPrint); |
|||
return Result.ok("add-ok","添加成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "我关注的项目或者任务-删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}") |
|||
}) |
|||
@RequestMapping(value="/del",method=RequestMethod.POST) |
|||
public Result delXmMyFootPrint(@RequestBody XmMyFootPrint xmMyFootPrint){ |
|||
xmMyFootPrintService.removeById(xmMyFootPrint); |
|||
return Result.ok("del-ok","删除成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "我关注的项目或者任务-修改",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmMyFootPrint.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/edit",method=RequestMethod.POST) |
|||
public Result editXmMyFootPrint(@RequestBody XmMyFootPrint xmMyFootPrint) { |
|||
xmMyFootPrintService.updateById(xmMyFootPrint); |
|||
return Result.ok("edit-ok","修改成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "我关注的项目或者任务-批量修改某些字段",notes="") |
|||
@ApiEntityParams( value = XmMyFootPrint.class, props={ }, remark = "我关注的项目或者任务", paramType = "body" ) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmMyFootPrint.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/editSomeFields",method=RequestMethod.POST) |
|||
public Result editSomeFields( @ApiIgnore @RequestBody Map<String,Object> params) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
xmMyFootPrintService.editSomeFields(params); |
|||
return Result.ok("edit-ok","更新成功"); |
|||
} |
|||
|
|||
@ApiOperation( value = "我关注的项目或者任务-批量删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}") |
|||
}) |
|||
@RequestMapping(value="/batchDel",method=RequestMethod.POST) |
|||
public Result batchDelXmMyFootPrint(@RequestBody List<XmMyFootPrint> xmMyFootPrints) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
if(xmMyFootPrints.size()<=0){ |
|||
return Result.error("batchDel-data-err-0","请上送待删除数据列表"); |
|||
} |
|||
List<XmMyFootPrint> datasDb=xmMyFootPrintService.listByIds(xmMyFootPrints.stream().map(i->map( "userid",i.getUserid() , "bizId",i.getBizId() , "pbizId",i.getPbizId() )).collect(Collectors.toList())); |
|||
|
|||
List<XmMyFootPrint> can=new ArrayList<>(); |
|||
List<XmMyFootPrint> no=new ArrayList<>(); |
|||
for (XmMyFootPrint data : datasDb) { |
|||
if(true){ |
|||
can.add(data); |
|||
}else{ |
|||
no.add(data); |
|||
} |
|||
} |
|||
List<String> msgs=new ArrayList<>(); |
|||
if(can.size()>0){ |
|||
xmMyFootPrintService.removeByIds(can); |
|||
msgs.add(LangTips.transMsg("del-ok-num","成功删除%s条数据.",can.size())); |
|||
} |
|||
|
|||
if(no.size()>0){ |
|||
msgs.add(LangTips.transMsg("not-allow-del-num","以下%s条数据不能删除:【%s】",no.size(),no.stream().map(i-> i.getUserid() +" "+ i.getBizId() +" "+ i.getPbizId() ).collect(Collectors.joining(",")))); |
|||
} |
|||
if(can.size()>0){ |
|||
return Result.ok(msgs.stream().collect(Collectors.joining())); |
|||
}else { |
|||
return Result.error(msgs.stream().collect(Collectors.joining())); |
|||
} |
|||
} |
|||
|
|||
@ApiOperation( value = "我关注的项目或者任务-根据主键查询一条数据",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmMyFootPrint.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/queryById",method=RequestMethod.GET) |
|||
public Result queryById(XmMyFootPrint xmMyFootPrint) { |
|||
XmMyFootPrint data = (XmMyFootPrint) xmMyFootPrintService.getById(xmMyFootPrint); |
|||
return Result.ok().setData(data); |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,155 @@ |
|||
package com.xm.core.ctrl; |
|||
|
|||
import java.util.*; |
|||
import java.util.stream.Collectors; |
|||
import org.slf4j.Logger; |
|||
import org.slf4j.LoggerFactory; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.util.StringUtils; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import io.swagger.annotations.*; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|||
import com.mdp.core.entity.Result; |
|||
import com.mdp.core.query.QueryTools; |
|||
import static com.mdp.core.utils.BaseUtils.*; |
|||
import com.mdp.core.entity.Tips; |
|||
import com.mdp.core.entity.LangTips; |
|||
import com.mdp.core.err.BizException; |
|||
import com.mdp.core.utils.RequestUtils; |
|||
import com.mdp.core.utils.NumberUtil; |
|||
import com.mdp.safe.client.entity.User; |
|||
import com.mdp.safe.client.utils.LoginUtils; |
|||
import com.mdp.swagger.ApiEntityParams; |
|||
import io.swagger.annotations.*; |
|||
import springfox.documentation.annotations.ApiIgnore; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
|
|||
import com.xm.core.service.XmProductVersionService; |
|||
import com.xm.core.entity.XmProductVersion; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping(value="/xm/core/xmProductVersion") |
|||
@Api(tags={"产品版本编号-操作接口"}) |
|||
public class XmProductVersionController { |
|||
|
|||
static Logger logger =LoggerFactory.getLogger(XmProductVersionController.class); |
|||
|
|||
@Autowired |
|||
private XmProductVersionService xmProductVersionService; |
|||
|
|||
@ApiOperation( value = "产品版本编号-查询列表",notes=" ") |
|||
@ApiEntityParams(XmProductVersion.class) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmProductVersion.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'错误码'},total:总记录数,data:[数据对象1,数据对象2,...]}") |
|||
}) |
|||
@RequestMapping(value="/list",method=RequestMethod.GET) |
|||
public Result listXmProductVersion(@ApiIgnore @RequestParam Map<String,Object> params){ |
|||
User user=LoginUtils.getCurrentUserInfo(); |
|||
QueryWrapper<XmProductVersion> qw = QueryTools.initQueryWrapper(XmProductVersion.class , params); |
|||
IPage page=QueryTools.initPage(params); |
|||
List<Map<String,Object>> datas = xmProductVersionService.selectListMapByWhere(page,qw,params); |
|||
return Result.ok("query-ok","查询成功").setData(datas).setTotal(page.getTotal()); |
|||
} |
|||
|
|||
|
|||
@ApiOperation( value = "产品版本编号-新增",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmProductVersion.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/add",method=RequestMethod.POST) |
|||
public Result addXmProductVersion(@RequestBody XmProductVersion xmProductVersion) { |
|||
xmProductVersionService.save(xmProductVersion); |
|||
return Result.ok("add-ok","添加成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "产品版本编号-删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}") |
|||
}) |
|||
@RequestMapping(value="/del",method=RequestMethod.POST) |
|||
public Result delXmProductVersion(@RequestBody XmProductVersion xmProductVersion){ |
|||
xmProductVersionService.removeById(xmProductVersion); |
|||
return Result.ok("del-ok","删除成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "产品版本编号-修改",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmProductVersion.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/edit",method=RequestMethod.POST) |
|||
public Result editXmProductVersion(@RequestBody XmProductVersion xmProductVersion) { |
|||
xmProductVersionService.updateById(xmProductVersion); |
|||
return Result.ok("edit-ok","修改成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "产品版本编号-批量修改某些字段",notes="") |
|||
@ApiEntityParams( value = XmProductVersion.class, props={ }, remark = "产品版本编号", paramType = "body" ) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmProductVersion.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/editSomeFields",method=RequestMethod.POST) |
|||
public Result editSomeFields( @ApiIgnore @RequestBody Map<String,Object> params) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
xmProductVersionService.editSomeFields(params); |
|||
return Result.ok("edit-ok","更新成功"); |
|||
} |
|||
|
|||
@ApiOperation( value = "产品版本编号-批量删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}") |
|||
}) |
|||
@RequestMapping(value="/batchDel",method=RequestMethod.POST) |
|||
public Result batchDelXmProductVersion(@RequestBody List<XmProductVersion> xmProductVersions) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
if(xmProductVersions.size()<=0){ |
|||
return Result.error("batchDel-data-err-0","请上送待删除数据列表"); |
|||
} |
|||
List<XmProductVersion> datasDb=xmProductVersionService.listByIds(xmProductVersions.stream().map(i->map( "id",i.getId() , "productId",i.getProductId() )).collect(Collectors.toList())); |
|||
|
|||
List<XmProductVersion> can=new ArrayList<>(); |
|||
List<XmProductVersion> no=new ArrayList<>(); |
|||
for (XmProductVersion data : datasDb) { |
|||
if(true){ |
|||
can.add(data); |
|||
}else{ |
|||
no.add(data); |
|||
} |
|||
} |
|||
List<String> msgs=new ArrayList<>(); |
|||
if(can.size()>0){ |
|||
xmProductVersionService.removeByIds(can); |
|||
msgs.add(LangTips.transMsg("del-ok-num","成功删除%s条数据.",can.size())); |
|||
} |
|||
|
|||
if(no.size()>0){ |
|||
msgs.add(LangTips.transMsg("not-allow-del-num","以下%s条数据不能删除:【%s】",no.size(),no.stream().map(i-> i.getId() +" "+ i.getProductId() ).collect(Collectors.joining(",")))); |
|||
} |
|||
if(can.size()>0){ |
|||
return Result.ok(msgs.stream().collect(Collectors.joining())); |
|||
}else { |
|||
return Result.error(msgs.stream().collect(Collectors.joining())); |
|||
} |
|||
} |
|||
|
|||
@ApiOperation( value = "产品版本编号-根据主键查询一条数据",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmProductVersion.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/queryById",method=RequestMethod.GET) |
|||
public Result queryById(XmProductVersion xmProductVersion) { |
|||
XmProductVersion data = (XmProductVersion) xmProductVersionService.getById(xmProductVersion); |
|||
return Result.ok().setData(data); |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,155 @@ |
|||
package com.xm.core.ctrl; |
|||
|
|||
import java.util.*; |
|||
import java.util.stream.Collectors; |
|||
import org.slf4j.Logger; |
|||
import org.slf4j.LoggerFactory; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.util.StringUtils; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import io.swagger.annotations.*; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|||
import com.mdp.core.entity.Result; |
|||
import com.mdp.core.query.QueryTools; |
|||
import static com.mdp.core.utils.BaseUtils.*; |
|||
import com.mdp.core.entity.Tips; |
|||
import com.mdp.core.entity.LangTips; |
|||
import com.mdp.core.err.BizException; |
|||
import com.mdp.core.utils.RequestUtils; |
|||
import com.mdp.core.utils.NumberUtil; |
|||
import com.mdp.safe.client.entity.User; |
|||
import com.mdp.safe.client.utils.LoginUtils; |
|||
import com.mdp.swagger.ApiEntityParams; |
|||
import io.swagger.annotations.*; |
|||
import springfox.documentation.annotations.ApiIgnore; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
|
|||
import com.xm.core.service.XmProjectEnvListService; |
|||
import com.xm.core.entity.XmProjectEnvList; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping(value="/xm/core/xmProjectEnvList") |
|||
@Api(tags={"项目环境清单-操作接口"}) |
|||
public class XmProjectEnvListController { |
|||
|
|||
static Logger logger =LoggerFactory.getLogger(XmProjectEnvListController.class); |
|||
|
|||
@Autowired |
|||
private XmProjectEnvListService xmProjectEnvListService; |
|||
|
|||
@ApiOperation( value = "项目环境清单-查询列表",notes=" ") |
|||
@ApiEntityParams(XmProjectEnvList.class) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmProjectEnvList.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'错误码'},total:总记录数,data:[数据对象1,数据对象2,...]}") |
|||
}) |
|||
@RequestMapping(value="/list",method=RequestMethod.GET) |
|||
public Result listXmProjectEnvList(@ApiIgnore @RequestParam Map<String,Object> params){ |
|||
User user=LoginUtils.getCurrentUserInfo(); |
|||
QueryWrapper<XmProjectEnvList> qw = QueryTools.initQueryWrapper(XmProjectEnvList.class , params); |
|||
IPage page=QueryTools.initPage(params); |
|||
List<Map<String,Object>> datas = xmProjectEnvListService.selectListMapByWhere(page,qw,params); |
|||
return Result.ok("query-ok","查询成功").setData(datas).setTotal(page.getTotal()); |
|||
} |
|||
|
|||
|
|||
@ApiOperation( value = "项目环境清单-新增",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmProjectEnvList.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/add",method=RequestMethod.POST) |
|||
public Result addXmProjectEnvList(@RequestBody XmProjectEnvList xmProjectEnvList) { |
|||
xmProjectEnvListService.save(xmProjectEnvList); |
|||
return Result.ok("add-ok","添加成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "项目环境清单-删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}") |
|||
}) |
|||
@RequestMapping(value="/del",method=RequestMethod.POST) |
|||
public Result delXmProjectEnvList(@RequestBody XmProjectEnvList xmProjectEnvList){ |
|||
xmProjectEnvListService.removeById(xmProjectEnvList); |
|||
return Result.ok("del-ok","删除成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "项目环境清单-修改",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmProjectEnvList.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/edit",method=RequestMethod.POST) |
|||
public Result editXmProjectEnvList(@RequestBody XmProjectEnvList xmProjectEnvList) { |
|||
xmProjectEnvListService.updateById(xmProjectEnvList); |
|||
return Result.ok("edit-ok","修改成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "项目环境清单-批量修改某些字段",notes="") |
|||
@ApiEntityParams( value = XmProjectEnvList.class, props={ }, remark = "项目环境清单", paramType = "body" ) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmProjectEnvList.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/editSomeFields",method=RequestMethod.POST) |
|||
public Result editSomeFields( @ApiIgnore @RequestBody Map<String,Object> params) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
xmProjectEnvListService.editSomeFields(params); |
|||
return Result.ok("edit-ok","更新成功"); |
|||
} |
|||
|
|||
@ApiOperation( value = "项目环境清单-批量删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}") |
|||
}) |
|||
@RequestMapping(value="/batchDel",method=RequestMethod.POST) |
|||
public Result batchDelXmProjectEnvList(@RequestBody List<XmProjectEnvList> xmProjectEnvLists) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
if(xmProjectEnvLists.size()<=0){ |
|||
return Result.error("batchDel-data-err-0","请上送待删除数据列表"); |
|||
} |
|||
List<XmProjectEnvList> datasDb=xmProjectEnvListService.listByIds(xmProjectEnvLists.stream().map(i-> i.getId() ).collect(Collectors.toList())); |
|||
|
|||
List<XmProjectEnvList> can=new ArrayList<>(); |
|||
List<XmProjectEnvList> no=new ArrayList<>(); |
|||
for (XmProjectEnvList data : datasDb) { |
|||
if(true){ |
|||
can.add(data); |
|||
}else{ |
|||
no.add(data); |
|||
} |
|||
} |
|||
List<String> msgs=new ArrayList<>(); |
|||
if(can.size()>0){ |
|||
xmProjectEnvListService.removeByIds(can); |
|||
msgs.add(LangTips.transMsg("del-ok-num","成功删除%s条数据.",can.size())); |
|||
} |
|||
|
|||
if(no.size()>0){ |
|||
msgs.add(LangTips.transMsg("not-allow-del-num","以下%s条数据不能删除:【%s】",no.size(),no.stream().map(i-> i.getId() ).collect(Collectors.joining(",")))); |
|||
} |
|||
if(can.size()>0){ |
|||
return Result.ok(msgs.stream().collect(Collectors.joining())); |
|||
}else { |
|||
return Result.error(msgs.stream().collect(Collectors.joining())); |
|||
} |
|||
} |
|||
|
|||
@ApiOperation( value = "项目环境清单-根据主键查询一条数据",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmProjectEnvList.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/queryById",method=RequestMethod.GET) |
|||
public Result queryById(XmProjectEnvList xmProjectEnvList) { |
|||
XmProjectEnvList data = (XmProjectEnvList) xmProjectEnvListService.getById(xmProjectEnvList); |
|||
return Result.ok().setData(data); |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,155 @@ |
|||
package com.xm.core.ctrl; |
|||
|
|||
import java.util.*; |
|||
import java.util.stream.Collectors; |
|||
import org.slf4j.Logger; |
|||
import org.slf4j.LoggerFactory; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.util.StringUtils; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import io.swagger.annotations.*; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|||
import com.mdp.core.entity.Result; |
|||
import com.mdp.core.query.QueryTools; |
|||
import static com.mdp.core.utils.BaseUtils.*; |
|||
import com.mdp.core.entity.Tips; |
|||
import com.mdp.core.entity.LangTips; |
|||
import com.mdp.core.err.BizException; |
|||
import com.mdp.core.utils.RequestUtils; |
|||
import com.mdp.core.utils.NumberUtil; |
|||
import com.mdp.safe.client.entity.User; |
|||
import com.mdp.safe.client.utils.LoginUtils; |
|||
import com.mdp.swagger.ApiEntityParams; |
|||
import io.swagger.annotations.*; |
|||
import springfox.documentation.annotations.ApiIgnore; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
|
|||
import com.xm.core.service.XmQuestionWorkloadService; |
|||
import com.xm.core.entity.XmQuestionWorkload; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping(value="/xm/core/xmQuestionWorkload") |
|||
@Api(tags={"工时登记表-操作接口"}) |
|||
public class XmQuestionWorkloadController { |
|||
|
|||
static Logger logger =LoggerFactory.getLogger(XmQuestionWorkloadController.class); |
|||
|
|||
@Autowired |
|||
private XmQuestionWorkloadService xmQuestionWorkloadService; |
|||
|
|||
@ApiOperation( value = "工时登记表-查询列表",notes=" ") |
|||
@ApiEntityParams(XmQuestionWorkload.class) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmQuestionWorkload.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'错误码'},total:总记录数,data:[数据对象1,数据对象2,...]}") |
|||
}) |
|||
@RequestMapping(value="/list",method=RequestMethod.GET) |
|||
public Result listXmQuestionWorkload(@ApiIgnore @RequestParam Map<String,Object> params){ |
|||
User user=LoginUtils.getCurrentUserInfo(); |
|||
QueryWrapper<XmQuestionWorkload> qw = QueryTools.initQueryWrapper(XmQuestionWorkload.class , params); |
|||
IPage page=QueryTools.initPage(params); |
|||
List<Map<String,Object>> datas = xmQuestionWorkloadService.selectListMapByWhere(page,qw,params); |
|||
return Result.ok("query-ok","查询成功").setData(datas).setTotal(page.getTotal()); |
|||
} |
|||
|
|||
|
|||
@ApiOperation( value = "工时登记表-新增",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmQuestionWorkload.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/add",method=RequestMethod.POST) |
|||
public Result addXmQuestionWorkload(@RequestBody XmQuestionWorkload xmQuestionWorkload) { |
|||
xmQuestionWorkloadService.save(xmQuestionWorkload); |
|||
return Result.ok("add-ok","添加成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "工时登记表-删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}") |
|||
}) |
|||
@RequestMapping(value="/del",method=RequestMethod.POST) |
|||
public Result delXmQuestionWorkload(@RequestBody XmQuestionWorkload xmQuestionWorkload){ |
|||
xmQuestionWorkloadService.removeById(xmQuestionWorkload); |
|||
return Result.ok("del-ok","删除成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "工时登记表-修改",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmQuestionWorkload.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/edit",method=RequestMethod.POST) |
|||
public Result editXmQuestionWorkload(@RequestBody XmQuestionWorkload xmQuestionWorkload) { |
|||
xmQuestionWorkloadService.updateById(xmQuestionWorkload); |
|||
return Result.ok("edit-ok","修改成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "工时登记表-批量修改某些字段",notes="") |
|||
@ApiEntityParams( value = XmQuestionWorkload.class, props={ }, remark = "工时登记表", paramType = "body" ) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmQuestionWorkload.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/editSomeFields",method=RequestMethod.POST) |
|||
public Result editSomeFields( @ApiIgnore @RequestBody Map<String,Object> params) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
xmQuestionWorkloadService.editSomeFields(params); |
|||
return Result.ok("edit-ok","更新成功"); |
|||
} |
|||
|
|||
@ApiOperation( value = "工时登记表-批量删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}") |
|||
}) |
|||
@RequestMapping(value="/batchDel",method=RequestMethod.POST) |
|||
public Result batchDelXmQuestionWorkload(@RequestBody List<XmQuestionWorkload> xmQuestionWorkloads) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
if(xmQuestionWorkloads.size()<=0){ |
|||
return Result.error("batchDel-data-err-0","请上送待删除数据列表"); |
|||
} |
|||
List<XmQuestionWorkload> datasDb=xmQuestionWorkloadService.listByIds(xmQuestionWorkloads.stream().map(i-> i.getId() ).collect(Collectors.toList())); |
|||
|
|||
List<XmQuestionWorkload> can=new ArrayList<>(); |
|||
List<XmQuestionWorkload> no=new ArrayList<>(); |
|||
for (XmQuestionWorkload data : datasDb) { |
|||
if(true){ |
|||
can.add(data); |
|||
}else{ |
|||
no.add(data); |
|||
} |
|||
} |
|||
List<String> msgs=new ArrayList<>(); |
|||
if(can.size()>0){ |
|||
xmQuestionWorkloadService.removeByIds(can); |
|||
msgs.add(LangTips.transMsg("del-ok-num","成功删除%s条数据.",can.size())); |
|||
} |
|||
|
|||
if(no.size()>0){ |
|||
msgs.add(LangTips.transMsg("not-allow-del-num","以下%s条数据不能删除:【%s】",no.size(),no.stream().map(i-> i.getId() ).collect(Collectors.joining(",")))); |
|||
} |
|||
if(can.size()>0){ |
|||
return Result.ok(msgs.stream().collect(Collectors.joining())); |
|||
}else { |
|||
return Result.error(msgs.stream().collect(Collectors.joining())); |
|||
} |
|||
} |
|||
|
|||
@ApiOperation( value = "工时登记表-根据主键查询一条数据",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmQuestionWorkload.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/queryById",method=RequestMethod.GET) |
|||
public Result queryById(XmQuestionWorkload xmQuestionWorkload) { |
|||
XmQuestionWorkload data = (XmQuestionWorkload) xmQuestionWorkloadService.getById(xmQuestionWorkload); |
|||
return Result.ok().setData(data); |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,155 @@ |
|||
package com.xm.core.ctrl; |
|||
|
|||
import java.util.*; |
|||
import java.util.stream.Collectors; |
|||
import org.slf4j.Logger; |
|||
import org.slf4j.LoggerFactory; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.util.StringUtils; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import io.swagger.annotations.*; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|||
import com.mdp.core.entity.Result; |
|||
import com.mdp.core.query.QueryTools; |
|||
import static com.mdp.core.utils.BaseUtils.*; |
|||
import com.mdp.core.entity.Tips; |
|||
import com.mdp.core.entity.LangTips; |
|||
import com.mdp.core.err.BizException; |
|||
import com.mdp.core.utils.RequestUtils; |
|||
import com.mdp.core.utils.NumberUtil; |
|||
import com.mdp.safe.client.entity.User; |
|||
import com.mdp.safe.client.utils.LoginUtils; |
|||
import com.mdp.swagger.ApiEntityParams; |
|||
import io.swagger.annotations.*; |
|||
import springfox.documentation.annotations.ApiIgnore; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
|
|||
import com.xm.core.service.XmTaskCommentService; |
|||
import com.xm.core.entity.XmTaskComment; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping(value="/xm/core/xmTaskComment") |
|||
@Api(tags={"档案评论表-操作接口"}) |
|||
public class XmTaskCommentController { |
|||
|
|||
static Logger logger =LoggerFactory.getLogger(XmTaskCommentController.class); |
|||
|
|||
@Autowired |
|||
private XmTaskCommentService xmTaskCommentService; |
|||
|
|||
@ApiOperation( value = "档案评论表-查询列表",notes=" ") |
|||
@ApiEntityParams(XmTaskComment.class) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmTaskComment.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'错误码'},total:总记录数,data:[数据对象1,数据对象2,...]}") |
|||
}) |
|||
@RequestMapping(value="/list",method=RequestMethod.GET) |
|||
public Result listXmTaskComment(@ApiIgnore @RequestParam Map<String,Object> params){ |
|||
User user=LoginUtils.getCurrentUserInfo(); |
|||
QueryWrapper<XmTaskComment> qw = QueryTools.initQueryWrapper(XmTaskComment.class , params); |
|||
IPage page=QueryTools.initPage(params); |
|||
List<Map<String,Object>> datas = xmTaskCommentService.selectListMapByWhere(page,qw,params); |
|||
return Result.ok("query-ok","查询成功").setData(datas).setTotal(page.getTotal()); |
|||
} |
|||
|
|||
|
|||
@ApiOperation( value = "档案评论表-新增",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmTaskComment.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/add",method=RequestMethod.POST) |
|||
public Result addXmTaskComment(@RequestBody XmTaskComment xmTaskComment) { |
|||
xmTaskCommentService.save(xmTaskComment); |
|||
return Result.ok("add-ok","添加成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "档案评论表-删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}") |
|||
}) |
|||
@RequestMapping(value="/del",method=RequestMethod.POST) |
|||
public Result delXmTaskComment(@RequestBody XmTaskComment xmTaskComment){ |
|||
xmTaskCommentService.removeById(xmTaskComment); |
|||
return Result.ok("del-ok","删除成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "档案评论表-修改",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmTaskComment.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/edit",method=RequestMethod.POST) |
|||
public Result editXmTaskComment(@RequestBody XmTaskComment xmTaskComment) { |
|||
xmTaskCommentService.updateById(xmTaskComment); |
|||
return Result.ok("edit-ok","修改成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "档案评论表-批量修改某些字段",notes="") |
|||
@ApiEntityParams( value = XmTaskComment.class, props={ }, remark = "档案评论表", paramType = "body" ) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmTaskComment.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/editSomeFields",method=RequestMethod.POST) |
|||
public Result editSomeFields( @ApiIgnore @RequestBody Map<String,Object> params) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
xmTaskCommentService.editSomeFields(params); |
|||
return Result.ok("edit-ok","更新成功"); |
|||
} |
|||
|
|||
@ApiOperation( value = "档案评论表-批量删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}") |
|||
}) |
|||
@RequestMapping(value="/batchDel",method=RequestMethod.POST) |
|||
public Result batchDelXmTaskComment(@RequestBody List<XmTaskComment> xmTaskComments) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
if(xmTaskComments.size()<=0){ |
|||
return Result.error("batchDel-data-err-0","请上送待删除数据列表"); |
|||
} |
|||
List<XmTaskComment> datasDb=xmTaskCommentService.listByIds(xmTaskComments.stream().map(i-> i.getId() ).collect(Collectors.toList())); |
|||
|
|||
List<XmTaskComment> can=new ArrayList<>(); |
|||
List<XmTaskComment> no=new ArrayList<>(); |
|||
for (XmTaskComment data : datasDb) { |
|||
if(true){ |
|||
can.add(data); |
|||
}else{ |
|||
no.add(data); |
|||
} |
|||
} |
|||
List<String> msgs=new ArrayList<>(); |
|||
if(can.size()>0){ |
|||
xmTaskCommentService.removeByIds(can); |
|||
msgs.add(LangTips.transMsg("del-ok-num","成功删除%s条数据.",can.size())); |
|||
} |
|||
|
|||
if(no.size()>0){ |
|||
msgs.add(LangTips.transMsg("not-allow-del-num","以下%s条数据不能删除:【%s】",no.size(),no.stream().map(i-> i.getId() ).collect(Collectors.joining(",")))); |
|||
} |
|||
if(can.size()>0){ |
|||
return Result.ok(msgs.stream().collect(Collectors.joining())); |
|||
}else { |
|||
return Result.error(msgs.stream().collect(Collectors.joining())); |
|||
} |
|||
} |
|||
|
|||
@ApiOperation( value = "档案评论表-根据主键查询一条数据",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmTaskComment.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/queryById",method=RequestMethod.GET) |
|||
public Result queryById(XmTaskComment xmTaskComment) { |
|||
XmTaskComment data = (XmTaskComment) xmTaskCommentService.getById(xmTaskComment); |
|||
return Result.ok().setData(data); |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,155 @@ |
|||
package com.xm.core.ctrl; |
|||
|
|||
import java.util.*; |
|||
import java.util.stream.Collectors; |
|||
import org.slf4j.Logger; |
|||
import org.slf4j.LoggerFactory; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.util.StringUtils; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import io.swagger.annotations.*; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|||
import com.mdp.core.entity.Result; |
|||
import com.mdp.core.query.QueryTools; |
|||
import static com.mdp.core.utils.BaseUtils.*; |
|||
import com.mdp.core.entity.Tips; |
|||
import com.mdp.core.entity.LangTips; |
|||
import com.mdp.core.err.BizException; |
|||
import com.mdp.core.utils.RequestUtils; |
|||
import com.mdp.core.utils.NumberUtil; |
|||
import com.mdp.safe.client.entity.User; |
|||
import com.mdp.safe.client.utils.LoginUtils; |
|||
import com.mdp.swagger.ApiEntityParams; |
|||
import io.swagger.annotations.*; |
|||
import springfox.documentation.annotations.ApiIgnore; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
|
|||
import com.xm.core.service.XmTaskWorkloadService; |
|||
import com.xm.core.entity.XmTaskWorkload; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping(value="/xm/core/xmTaskWorkload") |
|||
@Api(tags={"工时登记表-操作接口"}) |
|||
public class XmTaskWorkloadController { |
|||
|
|||
static Logger logger =LoggerFactory.getLogger(XmTaskWorkloadController.class); |
|||
|
|||
@Autowired |
|||
private XmTaskWorkloadService xmTaskWorkloadService; |
|||
|
|||
@ApiOperation( value = "工时登记表-查询列表",notes=" ") |
|||
@ApiEntityParams(XmTaskWorkload.class) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmTaskWorkload.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'错误码'},total:总记录数,data:[数据对象1,数据对象2,...]}") |
|||
}) |
|||
@RequestMapping(value="/list",method=RequestMethod.GET) |
|||
public Result listXmTaskWorkload(@ApiIgnore @RequestParam Map<String,Object> params){ |
|||
User user=LoginUtils.getCurrentUserInfo(); |
|||
QueryWrapper<XmTaskWorkload> qw = QueryTools.initQueryWrapper(XmTaskWorkload.class , params); |
|||
IPage page=QueryTools.initPage(params); |
|||
List<Map<String,Object>> datas = xmTaskWorkloadService.selectListMapByWhere(page,qw,params); |
|||
return Result.ok("query-ok","查询成功").setData(datas).setTotal(page.getTotal()); |
|||
} |
|||
|
|||
|
|||
@ApiOperation( value = "工时登记表-新增",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmTaskWorkload.class,message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/add",method=RequestMethod.POST) |
|||
public Result addXmTaskWorkload(@RequestBody XmTaskWorkload xmTaskWorkload) { |
|||
xmTaskWorkloadService.save(xmTaskWorkload); |
|||
return Result.ok("add-ok","添加成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "工时登记表-删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}}") |
|||
}) |
|||
@RequestMapping(value="/del",method=RequestMethod.POST) |
|||
public Result delXmTaskWorkload(@RequestBody XmTaskWorkload xmTaskWorkload){ |
|||
xmTaskWorkloadService.removeById(xmTaskWorkload); |
|||
return Result.ok("del-ok","删除成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "工时登记表-修改",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmTaskWorkload.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/edit",method=RequestMethod.POST) |
|||
public Result editXmTaskWorkload(@RequestBody XmTaskWorkload xmTaskWorkload) { |
|||
xmTaskWorkloadService.updateById(xmTaskWorkload); |
|||
return Result.ok("edit-ok","修改成功!"); |
|||
} |
|||
|
|||
@ApiOperation( value = "工时登记表-批量修改某些字段",notes="") |
|||
@ApiEntityParams( value = XmTaskWorkload.class, props={ }, remark = "工时登记表", paramType = "body" ) |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmTaskWorkload.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/editSomeFields",method=RequestMethod.POST) |
|||
public Result editSomeFields( @ApiIgnore @RequestBody Map<String,Object> params) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
xmTaskWorkloadService.editSomeFields(params); |
|||
return Result.ok("edit-ok","更新成功"); |
|||
} |
|||
|
|||
@ApiOperation( value = "工时登记表-批量删除",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'}") |
|||
}) |
|||
@RequestMapping(value="/batchDel",method=RequestMethod.POST) |
|||
public Result batchDelXmTaskWorkload(@RequestBody List<XmTaskWorkload> xmTaskWorkloads) { |
|||
User user= LoginUtils.getCurrentUserInfo(); |
|||
if(xmTaskWorkloads.size()<=0){ |
|||
return Result.error("batchDel-data-err-0","请上送待删除数据列表"); |
|||
} |
|||
List<XmTaskWorkload> datasDb=xmTaskWorkloadService.listByIds(xmTaskWorkloads.stream().map(i-> i.getId() ).collect(Collectors.toList())); |
|||
|
|||
List<XmTaskWorkload> can=new ArrayList<>(); |
|||
List<XmTaskWorkload> no=new ArrayList<>(); |
|||
for (XmTaskWorkload data : datasDb) { |
|||
if(true){ |
|||
can.add(data); |
|||
}else{ |
|||
no.add(data); |
|||
} |
|||
} |
|||
List<String> msgs=new ArrayList<>(); |
|||
if(can.size()>0){ |
|||
xmTaskWorkloadService.removeByIds(can); |
|||
msgs.add(LangTips.transMsg("del-ok-num","成功删除%s条数据.",can.size())); |
|||
} |
|||
|
|||
if(no.size()>0){ |
|||
msgs.add(LangTips.transMsg("not-allow-del-num","以下%s条数据不能删除:【%s】",no.size(),no.stream().map(i-> i.getId() ).collect(Collectors.joining(",")))); |
|||
} |
|||
if(can.size()>0){ |
|||
return Result.ok(msgs.stream().collect(Collectors.joining())); |
|||
}else { |
|||
return Result.error(msgs.stream().collect(Collectors.joining())); |
|||
} |
|||
} |
|||
|
|||
@ApiOperation( value = "工时登记表-根据主键查询一条数据",notes=" ") |
|||
@ApiResponses({ |
|||
@ApiResponse(code = 200,response=XmTaskWorkload.class, message = "{tips:{isOk:true/false,msg:'成功/失败原因',tipscode:'失败时错误码'},data:数据对象}") |
|||
}) |
|||
@RequestMapping(value="/queryById",method=RequestMethod.GET) |
|||
public Result queryById(XmTaskWorkload xmTaskWorkload) { |
|||
XmTaskWorkload data = (XmTaskWorkload) xmTaskWorkloadService.getById(xmTaskWorkload); |
|||
return Result.ok().setData(data); |
|||
} |
|||
|
|||
} |
|||
881
xm-core/src/main/java/com/xm/core/entity/XmBranchStateHis.java
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,335 +1,118 @@ |
|||
package com.xm.core.entity; |
|||
|
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 组织 com 顶级模块 xm 大模块 core 小模块 <br> |
|||
* 实体 XmBranchTaskTypeState所有属性名: <br> |
|||
* taskType,planWorkload,planAmount,actWorkload,actAmount,branchId,bizDate,calcTime,planOuserAt,planIuserAt,actOutUserAt,actInnerUserAt,planOuserWorkload,planIuserWorkload,actOuserWorkload,actIuserWorkload,planNouserAt,actNouserAt,id,branchName;<br> |
|||
* 表 xm_branch_task_type_state 按机构编号任务类型汇总的所有字段名: <br> |
|||
* task_type,plan_workload,plan_amount,act_workload,act_amount,branch_id,biz_date,calc_time,plan_ouser_at,plan_iuser_at,act_ouser_at,act_iuser_at,plan_ouser_workload,plan_iuser_workload,act_ouser_workload,act_iuser_workload,plan_nouser_at,act_nouser_at,id,branch_name;<br> |
|||
* 当前主键(包括多主键):<br> |
|||
* id;<br> |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@Data |
|||
@TableName("xm_branch_task_type_state") |
|||
@ApiModel(description="按机构编号任务类型汇总") |
|||
public class XmBranchTaskTypeState implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="主键,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String id; |
|||
|
|||
|
|||
|
|||
@ApiModelProperty(notes="任务类型",allowEmptyValue=true,example="",allowableValues="") |
|||
String taskType; |
|||
|
|||
|
|||
@ApiModelProperty(notes="工作量",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal planWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="预算金额",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal planAmount; |
|||
|
|||
|
|||
@ApiModelProperty(notes="实际完成工作量",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="实际完成金额",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actAmount; |
|||
|
|||
|
|||
@ApiModelProperty(notes="机构编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String branchId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="业务日期yyyy-MM-dd型",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizDate; |
|||
|
|||
|
|||
@ApiModelProperty(notes="计算日期",allowEmptyValue=true,example="",allowableValues="") |
|||
Date calcTime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="外购资金预算",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal planOuserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="内购资金预算",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal planIuserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="实际外购成本",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actOutUserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="实际内购成本",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actInnerUserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="计划外购工作量",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal planOuserWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="计划内购工作量",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal planIuserWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="实际外购工作量",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actOuserWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="实际内购工作量",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actIuserWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="计划非人力成本",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal planNouserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="实际非人力成本",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actNouserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="机构名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String branchName; |
|||
|
|||
/**主键**/ |
|||
/** |
|||
*主键 |
|||
**/ |
|||
public XmBranchTaskTypeState(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
/**按机构编号任务类型汇总**/ |
|||
/** |
|||
* 按机构编号任务类型汇总 |
|||
**/ |
|||
public XmBranchTaskTypeState() { |
|||
} |
|||
|
|||
/** |
|||
* 任务类型 |
|||
**/ |
|||
public void setTaskType(String taskType) { |
|||
this.taskType = taskType; |
|||
} |
|||
/** |
|||
* 工作量 |
|||
**/ |
|||
public void setPlanWorkload(BigDecimal planWorkload) { |
|||
this.planWorkload = planWorkload; |
|||
} |
|||
/** |
|||
* 预算金额 |
|||
**/ |
|||
public void setPlanAmount(BigDecimal planAmount) { |
|||
this.planAmount = planAmount; |
|||
} |
|||
/** |
|||
* 实际完成工作量 |
|||
**/ |
|||
public void setActWorkload(BigDecimal actWorkload) { |
|||
this.actWorkload = actWorkload; |
|||
} |
|||
/** |
|||
* 实际完成金额 |
|||
**/ |
|||
public void setActAmount(BigDecimal actAmount) { |
|||
this.actAmount = actAmount; |
|||
} |
|||
/** |
|||
* 机构编号 |
|||
**/ |
|||
public void setBranchId(String branchId) { |
|||
this.branchId = branchId; |
|||
} |
|||
/** |
|||
* 业务日期yyyy-MM-dd型 |
|||
**/ |
|||
public void setBizDate(String bizDate) { |
|||
this.bizDate = bizDate; |
|||
} |
|||
/** |
|||
* 计算日期 |
|||
**/ |
|||
public void setCalcTime(Date calcTime) { |
|||
this.calcTime = calcTime; |
|||
} |
|||
/** |
|||
* 外购资金预算 |
|||
**/ |
|||
public void setPlanOuserAt(BigDecimal planOuserAt) { |
|||
this.planOuserAt = planOuserAt; |
|||
} |
|||
/** |
|||
* 内购资金预算 |
|||
**/ |
|||
public void setPlanIuserAt(BigDecimal planIuserAt) { |
|||
this.planIuserAt = planIuserAt; |
|||
} |
|||
/** |
|||
* 实际外购成本 |
|||
**/ |
|||
public void setActOutUserAt(BigDecimal actOutUserAt) { |
|||
this.actOutUserAt = actOutUserAt; |
|||
} |
|||
/** |
|||
* 实际内购成本 |
|||
**/ |
|||
public void setActInnerUserAt(BigDecimal actInnerUserAt) { |
|||
this.actInnerUserAt = actInnerUserAt; |
|||
} |
|||
/** |
|||
* 计划外购工作量 |
|||
**/ |
|||
public void setPlanOuserWorkload(BigDecimal planOuserWorkload) { |
|||
this.planOuserWorkload = planOuserWorkload; |
|||
} |
|||
/** |
|||
* 计划内购工作量 |
|||
**/ |
|||
public void setPlanIuserWorkload(BigDecimal planIuserWorkload) { |
|||
this.planIuserWorkload = planIuserWorkload; |
|||
} |
|||
/** |
|||
* 实际外购工作量 |
|||
**/ |
|||
public void setActOuserWorkload(BigDecimal actOuserWorkload) { |
|||
this.actOuserWorkload = actOuserWorkload; |
|||
} |
|||
/** |
|||
* 实际内购工作量 |
|||
**/ |
|||
public void setActIuserWorkload(BigDecimal actIuserWorkload) { |
|||
this.actIuserWorkload = actIuserWorkload; |
|||
} |
|||
/** |
|||
* 计划非人力成本 |
|||
**/ |
|||
public void setPlanNouserAt(BigDecimal planNouserAt) { |
|||
this.planNouserAt = planNouserAt; |
|||
} |
|||
/** |
|||
* 实际非人力成本 |
|||
**/ |
|||
public void setActNouserAt(BigDecimal actNouserAt) { |
|||
this.actNouserAt = actNouserAt; |
|||
} |
|||
/** |
|||
* 主键 |
|||
**/ |
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
/** |
|||
* 机构名称 |
|||
**/ |
|||
public void setBranchName(String branchName) { |
|||
this.branchName = branchName; |
|||
} |
|||
|
|||
/** |
|||
* 任务类型 |
|||
**/ |
|||
public String getTaskType() { |
|||
return this.taskType; |
|||
} |
|||
/** |
|||
* 工作量 |
|||
**/ |
|||
public BigDecimal getPlanWorkload() { |
|||
return this.planWorkload; |
|||
} |
|||
/** |
|||
* 预算金额 |
|||
**/ |
|||
public BigDecimal getPlanAmount() { |
|||
return this.planAmount; |
|||
} |
|||
/** |
|||
* 实际完成工作量 |
|||
**/ |
|||
public BigDecimal getActWorkload() { |
|||
return this.actWorkload; |
|||
} |
|||
/** |
|||
* 实际完成金额 |
|||
**/ |
|||
public BigDecimal getActAmount() { |
|||
return this.actAmount; |
|||
} |
|||
/** |
|||
* 机构编号 |
|||
**/ |
|||
public String getBranchId() { |
|||
return this.branchId; |
|||
} |
|||
/** |
|||
* 业务日期yyyy-MM-dd型 |
|||
**/ |
|||
public String getBizDate() { |
|||
return this.bizDate; |
|||
} |
|||
/** |
|||
* 计算日期 |
|||
**/ |
|||
public Date getCalcTime() { |
|||
return this.calcTime; |
|||
} |
|||
/** |
|||
* 外购资金预算 |
|||
**/ |
|||
public BigDecimal getPlanOuserAt() { |
|||
return this.planOuserAt; |
|||
} |
|||
/** |
|||
* 内购资金预算 |
|||
**/ |
|||
public BigDecimal getPlanIuserAt() { |
|||
return this.planIuserAt; |
|||
} |
|||
/** |
|||
* 实际外购成本 |
|||
**/ |
|||
public BigDecimal getActOutUserAt() { |
|||
return this.actOutUserAt; |
|||
} |
|||
/** |
|||
* 实际内购成本 |
|||
**/ |
|||
public BigDecimal getActInnerUserAt() { |
|||
return this.actInnerUserAt; |
|||
} |
|||
/** |
|||
* 计划外购工作量 |
|||
**/ |
|||
public BigDecimal getPlanOuserWorkload() { |
|||
return this.planOuserWorkload; |
|||
} |
|||
/** |
|||
* 计划内购工作量 |
|||
**/ |
|||
public BigDecimal getPlanIuserWorkload() { |
|||
return this.planIuserWorkload; |
|||
} |
|||
/** |
|||
* 实际外购工作量 |
|||
**/ |
|||
public BigDecimal getActOuserWorkload() { |
|||
return this.actOuserWorkload; |
|||
} |
|||
/** |
|||
* 实际内购工作量 |
|||
**/ |
|||
public BigDecimal getActIuserWorkload() { |
|||
return this.actIuserWorkload; |
|||
} |
|||
/** |
|||
* 计划非人力成本 |
|||
**/ |
|||
public BigDecimal getPlanNouserAt() { |
|||
return this.planNouserAt; |
|||
} |
|||
/** |
|||
* 实际非人力成本 |
|||
**/ |
|||
public BigDecimal getActNouserAt() { |
|||
return this.actNouserAt; |
|||
} |
|||
/** |
|||
* 主键 |
|||
**/ |
|||
public String getId() { |
|||
return this.id; |
|||
} |
|||
/** |
|||
* 机构名称 |
|||
**/ |
|||
public String getBranchName() { |
|||
return this.branchName; |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,65 @@ |
|||
package com.xm.core.entity; |
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@Data |
|||
@TableName("xm_collect") |
|||
@ApiModel(description="xm_collect") |
|||
public class XmCollect implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="项目集编号,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String id; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目集名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String name; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建人",allowEmptyValue=true,example="",allowableValues="") |
|||
String cuserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建人姓名",allowEmptyValue=true,example="",allowableValues="") |
|||
String cusername; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date ctime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="归属机构号",allowEmptyValue=true,example="",allowableValues="") |
|||
String branchId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="部门编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String deptid; |
|||
|
|||
/** |
|||
*项目集编号 |
|||
**/ |
|||
public XmCollect(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
/** |
|||
* xm_collect |
|||
**/ |
|||
public XmCollect() { |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,44 @@ |
|||
package com.xm.core.entity; |
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
/** |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@Data |
|||
@TableName("xm_collect_link") |
|||
@ApiModel(description="xm_collect_link") |
|||
public class XmCollectLink implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="项目集编号,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String collectId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String projectId; |
|||
|
|||
/** |
|||
*项目集编号 |
|||
**/ |
|||
public XmCollectLink(String collectId) { |
|||
this.collectId = collectId; |
|||
} |
|||
|
|||
/** |
|||
* xm_collect_link |
|||
**/ |
|||
public XmCollectLink() { |
|||
} |
|||
|
|||
} |
|||
912
xm-core/src/main/java/com/xm/core/entity/XmIterationStateHis.java
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,129 @@ |
|||
package com.xm.core.entity; |
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@Data |
|||
@TableName("xm_menu_exchange") |
|||
@ApiModel(description="功能表") |
|||
public class XmMenuExchange implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="评论编号,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String id; |
|||
|
|||
|
|||
@ApiModelProperty(notes="功能编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String menuId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="功能名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String menuName; |
|||
|
|||
|
|||
@ApiModelProperty(notes="归属产品编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String productId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="备注",allowEmptyValue=true,example="",allowableValues="") |
|||
String remark; |
|||
|
|||
|
|||
@ApiModelProperty(notes="上级评论编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String pid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="评论人编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String cuserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="评论人名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String cusername; |
|||
|
|||
|
|||
@ApiModelProperty(notes="评论时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date ctime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="评论人所属机构",allowEmptyValue=true,example="",allowableValues="") |
|||
String cbranchId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="是否采纳0否1采纳",allowEmptyValue=true,example="",allowableValues="") |
|||
String adopt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="采纳人编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String adoptUserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="采纳人名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String adoptUsername; |
|||
|
|||
|
|||
@ApiModelProperty(notes="采纳时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date adoptTime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="关闭该评论0否1是",allowEmptyValue=true,example="",allowableValues="") |
|||
String closed; |
|||
|
|||
|
|||
@ApiModelProperty(notes="上级用户编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String puserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="上级姓名",allowEmptyValue=true,example="",allowableValues="") |
|||
String pusername; |
|||
|
|||
|
|||
@ApiModelProperty(notes="上级备注",allowEmptyValue=true,example="",allowableValues="") |
|||
String premark; |
|||
|
|||
|
|||
@ApiModelProperty(notes="本评论需要同步给的人列表,逗号分隔",allowEmptyValue=true,example="",allowableValues="") |
|||
String notifyUserids; |
|||
|
|||
|
|||
@ApiModelProperty(notes="发送通知渠道inner-email/wxpub/sms/im/out-email等逗号分割",allowEmptyValue=true,example="",allowableValues="") |
|||
String notifyChannels; |
|||
|
|||
|
|||
@ApiModelProperty(notes="通知用户姓名逗号分隔",allowEmptyValue=true,example="",allowableValues="") |
|||
String notifyUsernames; |
|||
|
|||
|
|||
@ApiModelProperty(notes="发言人头像地址",allowEmptyValue=true,example="",allowableValues="") |
|||
String cuserHeadImg; |
|||
|
|||
|
|||
@ApiModelProperty(notes="回复方式1引用2回复",allowEmptyValue=true,example="",allowableValues="") |
|||
String replyType; |
|||
|
|||
/** |
|||
*评论编号 |
|||
**/ |
|||
public XmMenuExchange(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
/** |
|||
* 功能表 |
|||
**/ |
|||
public XmMenuExchange() { |
|||
} |
|||
|
|||
} |
|||
@ -1,740 +1,226 @@ |
|||
package com.xm.core.entity; |
|||
|
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 组织 com 顶级模块 xm 大模块 core 小模块 <br> |
|||
* 实体 XmMenuState所有属性名: <br> |
|||
* menuId,finishRate,menuStatus,ctime,calcTime,menuName,planWorkhours,planWorkerCnt,closedBugs,activeBugs,confirmedBugs,resolvedBugs,productId,testCases,execCases,designCases,finishCases,bizDate,bugCnt,taskCnt,taskUnstartCnt,taskExecCnt,taskFinishCnt,taskSetCnt,taskOutCnt,taskCloseCnt,budgetNouserAt,budgetOuserAt,budgetIuserAt,actUserAt,actIuserAt,actOuserAt,actNouserAt,budgetWorkload,budgetOuserWorkload,budgetIuserWorkload,actWorkload,actOuserWorkload,actIuserWorkload,estimateWorkload,budgetAt,actAt,minStartTime,maxEndTime,productCnt,iterationCnt,projectCnt;<br> |
|||
* 表 xm_menu_state 功能状态表,无需前端维护,所有数据由汇总统计得出的所有字段名: <br> |
|||
* menu_id,finish_rate,menu_status,ctime,calc_time,menu_name,plan_workhours,plan_worker_cnt,closed_bugs,active_bugs,confirmed_bugs,resolved_bugs,product_id,test_cases,exec_cases,design_cases,finish_cases,biz_date,bug_cnt,task_cnt,task_unstart_cnt,task_exec_cnt,task_finish_cnt,task_set_cnt,task_out_cnt,task_close_cnt,budget_nouser_at,budget_ouser_at,budget_iuser_at,act_user_at,act_iuser_at,act_ouser_at,act_nouser_at,budget_workload,budget_ouser_workload,budget_iuser_workload,act_workload,act_ouser_workload,act_iuser_workload,estimate_workload,budget_at,act_at,min_start_time,max_end_time,product_cnt,iteration_cnt,project_cnt;<br> |
|||
* 当前主键(包括多主键):<br> |
|||
* menu_id;<br> |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@Data |
|||
@TableName("xm_menu_state") |
|||
@ApiModel(description="功能状态表,无需前端维护,所有数据由汇总统计得出") |
|||
public class XmMenuState implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="功能编号,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String menuId; |
|||
|
|||
|
|||
|
|||
@ApiModelProperty(notes="总体完成比例0-100之间,根据taskType进行汇总",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal finishRate; |
|||
|
|||
|
|||
@ApiModelProperty(notes="状态0初始1设计中2开发中3测试中4uat测试2已上线3已下线4已删除",allowEmptyValue=true,example="",allowableValues="") |
|||
String menuStatus; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date ctime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="汇总时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date calcTime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="菜单名字",allowEmptyValue=true,example="",allowableValues="") |
|||
String menuName; |
|||
|
|||
|
|||
@ApiModelProperty(notes="工时数",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal planWorkhours; |
|||
|
|||
|
|||
@ApiModelProperty(notes="总人数",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal planWorkerCnt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="总关闭bugs",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal closedBugs; |
|||
|
|||
|
|||
@ApiModelProperty(notes="激活bugs",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal activeBugs; |
|||
|
|||
|
|||
@ApiModelProperty(notes="已确认bugs总数",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal confirmedBugs; |
|||
|
|||
|
|||
@ApiModelProperty(notes="已解决bugs总数",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal resolvedBugs; |
|||
|
|||
|
|||
@ApiModelProperty(notes="产品编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String productId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="测试案例总数",allowEmptyValue=true,example="",allowableValues="") |
|||
@ApiModelProperty(notes="测试案例总数-指测试库中总用例数",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer testCases; |
|||
|
|||
|
|||
@ApiModelProperty(notes="测试中案例总数",allowEmptyValue=true,example="",allowableValues="") |
|||
@ApiModelProperty(notes="测试中案例总数-指有测试计划的阻塞和失败的用例总数-去重",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer execCases; |
|||
|
|||
|
|||
@ApiModelProperty(notes="设计中案例总数",allowEmptyValue=true,example="",allowableValues="") |
|||
@ApiModelProperty(notes="设计中案例总数-指有测试计划的未测状态的用例数-去重",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer designCases; |
|||
|
|||
|
|||
@ApiModelProperty(notes="完成案例总数",allowEmptyValue=true,example="",allowableValues="") |
|||
@ApiModelProperty(notes="完成案例总数-指有测试计划的已通过和忽略状态的用例数-去重",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer finishCases; |
|||
|
|||
|
|||
@ApiModelProperty(notes="业务日期yyyy-MM-dd字符串",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizDate; |
|||
|
|||
|
|||
@ApiModelProperty(notes="bug总数",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer bugCnt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="任务总数",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer taskCnt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="待开始任务",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer taskUnstartCnt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="执行中任务",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer taskExecCnt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="已完成任务总数-来自任务表",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer taskFinishCnt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="已结算任务",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer taskSetCnt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="外购任务数,来自任务表",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal taskOutCnt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="已关闭任务",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer taskCloseCnt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目总非人力预算-来自任务表",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal budgetNouserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目总外购人力预算-来自任务表",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal budgetOuserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目总内部人力预算-来自任务表",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal budgetIuserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目总人力成本",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actUserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目总内部人力成本金额",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actIuserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目总外购人力成本金额",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actOuserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目总非人力成本",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actNouserAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目总预算工作量-来自任务表",allowEmptyValue=true,example="",allowableValues="") |
|||
@ApiModelProperty(notes="项目总预算工作量-来自任务表+缺陷表+用例表+用例执行表",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal budgetWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于阶段计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal budgetOuserWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于阶段计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal budgetIuserWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="已完成工作量-来自计划中实际完成工作量",allowEmptyValue=true,example="",allowableValues="") |
|||
@ApiModelProperty(notes="已完成工作量-来自工时明细表同需求的汇总",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="实际外购总工作量,来自任务表",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actOuserWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="实际内部总工作量,来自任务表",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actIuserWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="预估工时",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal estimateWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="预算金额",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal budgetAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="实际金额",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actAt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="最早开始日期",allowEmptyValue=true,example="",allowableValues="") |
|||
Date minStartTime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="最晚结束时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date maxEndTime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="关联产品数(主要是指子节点关联)",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer productCnt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="关联迭代数(主要是指子节点关联)",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer iterationCnt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="关联项目数(主要是指子节点关联)",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer projectCnt; |
|||
|
|||
/**功能编号**/ |
|||
/** |
|||
*功能编号 |
|||
**/ |
|||
public XmMenuState(String menuId) { |
|||
this.menuId = menuId; |
|||
} |
|||
|
|||
/**功能状态表,无需前端维护,所有数据由汇总统计得出**/ |
|||
/** |
|||
* 功能状态表,无需前端维护,所有数据由汇总统计得出 |
|||
**/ |
|||
public XmMenuState() { |
|||
} |
|||
|
|||
/** |
|||
* 功能编号 |
|||
**/ |
|||
public void setMenuId(String menuId) { |
|||
this.menuId = menuId; |
|||
} |
|||
/** |
|||
* 总体完成比例0-100之间,根据taskType进行汇总 |
|||
**/ |
|||
public void setFinishRate(BigDecimal finishRate) { |
|||
this.finishRate = finishRate; |
|||
} |
|||
/** |
|||
* 状态0初始1设计中2开发中3测试中4uat测试2已上线3已下线4已删除 |
|||
**/ |
|||
public void setMenuStatus(String menuStatus) { |
|||
this.menuStatus = menuStatus; |
|||
} |
|||
/** |
|||
* 创建时间 |
|||
**/ |
|||
public void setCtime(Date ctime) { |
|||
this.ctime = ctime; |
|||
} |
|||
/** |
|||
* 汇总时间 |
|||
**/ |
|||
public void setCalcTime(Date calcTime) { |
|||
this.calcTime = calcTime; |
|||
} |
|||
/** |
|||
* 菜单名字 |
|||
**/ |
|||
public void setMenuName(String menuName) { |
|||
this.menuName = menuName; |
|||
} |
|||
/** |
|||
* 工时数 |
|||
**/ |
|||
public void setPlanWorkhours(BigDecimal planWorkhours) { |
|||
this.planWorkhours = planWorkhours; |
|||
} |
|||
/** |
|||
* 总人数 |
|||
**/ |
|||
public void setPlanWorkerCnt(BigDecimal planWorkerCnt) { |
|||
this.planWorkerCnt = planWorkerCnt; |
|||
} |
|||
/** |
|||
* 总关闭bugs |
|||
**/ |
|||
public void setClosedBugs(BigDecimal closedBugs) { |
|||
this.closedBugs = closedBugs; |
|||
} |
|||
/** |
|||
* 激活bugs |
|||
**/ |
|||
public void setActiveBugs(BigDecimal activeBugs) { |
|||
this.activeBugs = activeBugs; |
|||
} |
|||
/** |
|||
* 已确认bugs总数 |
|||
**/ |
|||
public void setConfirmedBugs(BigDecimal confirmedBugs) { |
|||
this.confirmedBugs = confirmedBugs; |
|||
} |
|||
/** |
|||
* 已解决bugs总数 |
|||
**/ |
|||
public void setResolvedBugs(BigDecimal resolvedBugs) { |
|||
this.resolvedBugs = resolvedBugs; |
|||
} |
|||
/** |
|||
* 产品编号 |
|||
**/ |
|||
public void setProductId(String productId) { |
|||
this.productId = productId; |
|||
} |
|||
/** |
|||
* 测试案例总数 |
|||
**/ |
|||
public void setTestCases(Integer testCases) { |
|||
this.testCases = testCases; |
|||
} |
|||
/** |
|||
* 测试中案例总数 |
|||
**/ |
|||
public void setExecCases(Integer execCases) { |
|||
this.execCases = execCases; |
|||
} |
|||
/** |
|||
* 设计中案例总数 |
|||
**/ |
|||
public void setDesignCases(Integer designCases) { |
|||
this.designCases = designCases; |
|||
} |
|||
/** |
|||
* 完成案例总数 |
|||
**/ |
|||
public void setFinishCases(Integer finishCases) { |
|||
this.finishCases = finishCases; |
|||
} |
|||
/** |
|||
* 业务日期yyyy-MM-dd字符串 |
|||
**/ |
|||
public void setBizDate(String bizDate) { |
|||
this.bizDate = bizDate; |
|||
} |
|||
/** |
|||
* bug总数 |
|||
**/ |
|||
public void setBugCnt(Integer bugCnt) { |
|||
this.bugCnt = bugCnt; |
|||
} |
|||
/** |
|||
* 任务总数 |
|||
**/ |
|||
public void setTaskCnt(Integer taskCnt) { |
|||
this.taskCnt = taskCnt; |
|||
} |
|||
/** |
|||
* 待开始任务 |
|||
**/ |
|||
public void setTaskUnstartCnt(Integer taskUnstartCnt) { |
|||
this.taskUnstartCnt = taskUnstartCnt; |
|||
} |
|||
/** |
|||
* 执行中任务 |
|||
**/ |
|||
public void setTaskExecCnt(Integer taskExecCnt) { |
|||
this.taskExecCnt = taskExecCnt; |
|||
} |
|||
/** |
|||
* 已完成任务总数-来自任务表 |
|||
**/ |
|||
public void setTaskFinishCnt(Integer taskFinishCnt) { |
|||
this.taskFinishCnt = taskFinishCnt; |
|||
} |
|||
/** |
|||
* 已结算任务 |
|||
**/ |
|||
public void setTaskSetCnt(Integer taskSetCnt) { |
|||
this.taskSetCnt = taskSetCnt; |
|||
} |
|||
/** |
|||
* 外购任务数,来自任务表 |
|||
**/ |
|||
public void setTaskOutCnt(BigDecimal taskOutCnt) { |
|||
this.taskOutCnt = taskOutCnt; |
|||
} |
|||
/** |
|||
* 已关闭任务 |
|||
**/ |
|||
public void setTaskCloseCnt(Integer taskCloseCnt) { |
|||
this.taskCloseCnt = taskCloseCnt; |
|||
} |
|||
/** |
|||
* 项目总非人力预算-来自任务表 |
|||
**/ |
|||
public void setBudgetNouserAt(BigDecimal budgetNouserAt) { |
|||
this.budgetNouserAt = budgetNouserAt; |
|||
} |
|||
/** |
|||
* 项目总外购人力预算-来自任务表 |
|||
**/ |
|||
public void setBudgetOuserAt(BigDecimal budgetOuserAt) { |
|||
this.budgetOuserAt = budgetOuserAt; |
|||
} |
|||
/** |
|||
* 项目总内部人力预算-来自任务表 |
|||
**/ |
|||
public void setBudgetIuserAt(BigDecimal budgetIuserAt) { |
|||
this.budgetIuserAt = budgetIuserAt; |
|||
} |
|||
/** |
|||
* 项目总人力成本 |
|||
**/ |
|||
public void setActUserAt(BigDecimal actUserAt) { |
|||
this.actUserAt = actUserAt; |
|||
} |
|||
/** |
|||
* 项目总内部人力成本金额 |
|||
**/ |
|||
public void setActIuserAt(BigDecimal actIuserAt) { |
|||
this.actIuserAt = actIuserAt; |
|||
} |
|||
/** |
|||
* 项目总外购人力成本金额 |
|||
**/ |
|||
public void setActOuserAt(BigDecimal actOuserAt) { |
|||
this.actOuserAt = actOuserAt; |
|||
} |
|||
/** |
|||
* 项目总非人力成本 |
|||
**/ |
|||
public void setActNouserAt(BigDecimal actNouserAt) { |
|||
this.actNouserAt = actNouserAt; |
|||
} |
|||
/** |
|||
* 项目总预算工作量-来自任务表 |
|||
**/ |
|||
public void setBudgetWorkload(BigDecimal budgetWorkload) { |
|||
this.budgetWorkload = budgetWorkload; |
|||
} |
|||
/** |
|||
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本 |
|||
**/ |
|||
public void setBudgetOuserWorkload(BigDecimal budgetOuserWorkload) { |
|||
this.budgetOuserWorkload = budgetOuserWorkload; |
|||
} |
|||
/** |
|||
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本 |
|||
**/ |
|||
public void setBudgetIuserWorkload(BigDecimal budgetIuserWorkload) { |
|||
this.budgetIuserWorkload = budgetIuserWorkload; |
|||
} |
|||
/** |
|||
* 已完成工作量-来自计划中实际完成工作量 |
|||
**/ |
|||
public void setActWorkload(BigDecimal actWorkload) { |
|||
this.actWorkload = actWorkload; |
|||
} |
|||
/** |
|||
* 实际外购总工作量,来自任务表 |
|||
**/ |
|||
public void setActOuserWorkload(BigDecimal actOuserWorkload) { |
|||
this.actOuserWorkload = actOuserWorkload; |
|||
} |
|||
/** |
|||
* 实际内部总工作量,来自任务表 |
|||
**/ |
|||
public void setActIuserWorkload(BigDecimal actIuserWorkload) { |
|||
this.actIuserWorkload = actIuserWorkload; |
|||
} |
|||
/** |
|||
* 预估工时 |
|||
**/ |
|||
public void setEstimateWorkload(BigDecimal estimateWorkload) { |
|||
this.estimateWorkload = estimateWorkload; |
|||
} |
|||
/** |
|||
* 预算金额 |
|||
**/ |
|||
public void setBudgetAt(BigDecimal budgetAt) { |
|||
this.budgetAt = budgetAt; |
|||
} |
|||
/** |
|||
* 实际金额 |
|||
**/ |
|||
public void setActAt(BigDecimal actAt) { |
|||
this.actAt = actAt; |
|||
} |
|||
/** |
|||
* 最早开始日期 |
|||
**/ |
|||
public void setMinStartTime(Date minStartTime) { |
|||
this.minStartTime = minStartTime; |
|||
} |
|||
/** |
|||
* 最晚结束时间 |
|||
**/ |
|||
public void setMaxEndTime(Date maxEndTime) { |
|||
this.maxEndTime = maxEndTime; |
|||
} |
|||
/** |
|||
* 关联产品数(主要是指子节点关联) |
|||
**/ |
|||
public void setProductCnt(Integer productCnt) { |
|||
this.productCnt = productCnt; |
|||
} |
|||
/** |
|||
* 关联迭代数(主要是指子节点关联) |
|||
**/ |
|||
public void setIterationCnt(Integer iterationCnt) { |
|||
this.iterationCnt = iterationCnt; |
|||
} |
|||
/** |
|||
* 关联项目数(主要是指子节点关联) |
|||
**/ |
|||
public void setProjectCnt(Integer projectCnt) { |
|||
this.projectCnt = projectCnt; |
|||
} |
|||
|
|||
/** |
|||
* 功能编号 |
|||
**/ |
|||
public String getMenuId() { |
|||
return this.menuId; |
|||
} |
|||
/** |
|||
* 总体完成比例0-100之间,根据taskType进行汇总 |
|||
**/ |
|||
public BigDecimal getFinishRate() { |
|||
return this.finishRate; |
|||
} |
|||
/** |
|||
* 状态0初始1设计中2开发中3测试中4uat测试2已上线3已下线4已删除 |
|||
**/ |
|||
public String getMenuStatus() { |
|||
return this.menuStatus; |
|||
} |
|||
/** |
|||
* 创建时间 |
|||
**/ |
|||
public Date getCtime() { |
|||
return this.ctime; |
|||
} |
|||
/** |
|||
* 汇总时间 |
|||
**/ |
|||
public Date getCalcTime() { |
|||
return this.calcTime; |
|||
} |
|||
/** |
|||
* 菜单名字 |
|||
**/ |
|||
public String getMenuName() { |
|||
return this.menuName; |
|||
} |
|||
/** |
|||
* 工时数 |
|||
**/ |
|||
public BigDecimal getPlanWorkhours() { |
|||
return this.planWorkhours; |
|||
} |
|||
/** |
|||
* 总人数 |
|||
**/ |
|||
public BigDecimal getPlanWorkerCnt() { |
|||
return this.planWorkerCnt; |
|||
} |
|||
/** |
|||
* 总关闭bugs |
|||
**/ |
|||
public BigDecimal getClosedBugs() { |
|||
return this.closedBugs; |
|||
} |
|||
/** |
|||
* 激活bugs |
|||
**/ |
|||
public BigDecimal getActiveBugs() { |
|||
return this.activeBugs; |
|||
} |
|||
/** |
|||
* 已确认bugs总数 |
|||
**/ |
|||
public BigDecimal getConfirmedBugs() { |
|||
return this.confirmedBugs; |
|||
} |
|||
/** |
|||
* 已解决bugs总数 |
|||
**/ |
|||
public BigDecimal getResolvedBugs() { |
|||
return this.resolvedBugs; |
|||
} |
|||
/** |
|||
* 产品编号 |
|||
**/ |
|||
public String getProductId() { |
|||
return this.productId; |
|||
} |
|||
/** |
|||
* 测试案例总数 |
|||
**/ |
|||
public Integer getTestCases() { |
|||
return this.testCases; |
|||
} |
|||
/** |
|||
* 测试中案例总数 |
|||
**/ |
|||
public Integer getExecCases() { |
|||
return this.execCases; |
|||
} |
|||
/** |
|||
* 设计中案例总数 |
|||
**/ |
|||
public Integer getDesignCases() { |
|||
return this.designCases; |
|||
} |
|||
/** |
|||
* 完成案例总数 |
|||
**/ |
|||
public Integer getFinishCases() { |
|||
return this.finishCases; |
|||
} |
|||
/** |
|||
* 业务日期yyyy-MM-dd字符串 |
|||
**/ |
|||
public String getBizDate() { |
|||
return this.bizDate; |
|||
} |
|||
/** |
|||
* bug总数 |
|||
**/ |
|||
public Integer getBugCnt() { |
|||
return this.bugCnt; |
|||
} |
|||
/** |
|||
* 任务总数 |
|||
**/ |
|||
public Integer getTaskCnt() { |
|||
return this.taskCnt; |
|||
} |
|||
/** |
|||
* 待开始任务 |
|||
**/ |
|||
public Integer getTaskUnstartCnt() { |
|||
return this.taskUnstartCnt; |
|||
} |
|||
/** |
|||
* 执行中任务 |
|||
**/ |
|||
public Integer getTaskExecCnt() { |
|||
return this.taskExecCnt; |
|||
} |
|||
/** |
|||
* 已完成任务总数-来自任务表 |
|||
**/ |
|||
public Integer getTaskFinishCnt() { |
|||
return this.taskFinishCnt; |
|||
} |
|||
/** |
|||
* 已结算任务 |
|||
**/ |
|||
public Integer getTaskSetCnt() { |
|||
return this.taskSetCnt; |
|||
} |
|||
/** |
|||
* 外购任务数,来自任务表 |
|||
**/ |
|||
public BigDecimal getTaskOutCnt() { |
|||
return this.taskOutCnt; |
|||
} |
|||
/** |
|||
* 已关闭任务 |
|||
**/ |
|||
public Integer getTaskCloseCnt() { |
|||
return this.taskCloseCnt; |
|||
} |
|||
/** |
|||
* 项目总非人力预算-来自任务表 |
|||
**/ |
|||
public BigDecimal getBudgetNouserAt() { |
|||
return this.budgetNouserAt; |
|||
} |
|||
/** |
|||
* 项目总外购人力预算-来自任务表 |
|||
**/ |
|||
public BigDecimal getBudgetOuserAt() { |
|||
return this.budgetOuserAt; |
|||
} |
|||
/** |
|||
* 项目总内部人力预算-来自任务表 |
|||
**/ |
|||
public BigDecimal getBudgetIuserAt() { |
|||
return this.budgetIuserAt; |
|||
} |
|||
/** |
|||
* 项目总人力成本 |
|||
**/ |
|||
public BigDecimal getActUserAt() { |
|||
return this.actUserAt; |
|||
} |
|||
/** |
|||
* 项目总内部人力成本金额 |
|||
**/ |
|||
public BigDecimal getActIuserAt() { |
|||
return this.actIuserAt; |
|||
} |
|||
/** |
|||
* 项目总外购人力成本金额 |
|||
**/ |
|||
public BigDecimal getActOuserAt() { |
|||
return this.actOuserAt; |
|||
} |
|||
/** |
|||
* 项目总非人力成本 |
|||
**/ |
|||
public BigDecimal getActNouserAt() { |
|||
return this.actNouserAt; |
|||
} |
|||
/** |
|||
* 项目总预算工作量-来自任务表 |
|||
**/ |
|||
public BigDecimal getBudgetWorkload() { |
|||
return this.budgetWorkload; |
|||
} |
|||
/** |
|||
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本 |
|||
**/ |
|||
public BigDecimal getBudgetOuserWorkload() { |
|||
return this.budgetOuserWorkload; |
|||
} |
|||
/** |
|||
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本 |
|||
**/ |
|||
public BigDecimal getBudgetIuserWorkload() { |
|||
return this.budgetIuserWorkload; |
|||
} |
|||
/** |
|||
* 已完成工作量-来自计划中实际完成工作量 |
|||
**/ |
|||
public BigDecimal getActWorkload() { |
|||
return this.actWorkload; |
|||
} |
|||
/** |
|||
* 实际外购总工作量,来自任务表 |
|||
**/ |
|||
public BigDecimal getActOuserWorkload() { |
|||
return this.actOuserWorkload; |
|||
} |
|||
/** |
|||
* 实际内部总工作量,来自任务表 |
|||
**/ |
|||
public BigDecimal getActIuserWorkload() { |
|||
return this.actIuserWorkload; |
|||
} |
|||
/** |
|||
* 预估工时 |
|||
**/ |
|||
public BigDecimal getEstimateWorkload() { |
|||
return this.estimateWorkload; |
|||
} |
|||
/** |
|||
* 预算金额 |
|||
**/ |
|||
public BigDecimal getBudgetAt() { |
|||
return this.budgetAt; |
|||
} |
|||
/** |
|||
* 实际金额 |
|||
**/ |
|||
public BigDecimal getActAt() { |
|||
return this.actAt; |
|||
} |
|||
/** |
|||
* 最早开始日期 |
|||
**/ |
|||
public Date getMinStartTime() { |
|||
return this.minStartTime; |
|||
} |
|||
/** |
|||
* 最晚结束时间 |
|||
**/ |
|||
public Date getMaxEndTime() { |
|||
return this.maxEndTime; |
|||
} |
|||
/** |
|||
* 关联产品数(主要是指子节点关联) |
|||
**/ |
|||
public Integer getProductCnt() { |
|||
return this.productCnt; |
|||
} |
|||
/** |
|||
* 关联迭代数(主要是指子节点关联) |
|||
**/ |
|||
public Integer getIterationCnt() { |
|||
return this.iterationCnt; |
|||
} |
|||
/** |
|||
* 关联项目数(主要是指子节点关联) |
|||
**/ |
|||
public Integer getProjectCnt() { |
|||
return this.projectCnt; |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,79 @@ |
|||
package com.xm.core.entity; |
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@Data |
|||
@TableName("xm_my_foot_print") |
|||
@ApiModel(description="我关注的项目或者任务") |
|||
public class XmMyFootPrint implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableIds |
|||
|
|||
@ApiModelProperty(notes="用户编号,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String userid; |
|||
@TableIds |
|||
|
|||
@ApiModelProperty(notes="关注的对象主键,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizId; |
|||
@TableIds |
|||
|
|||
@ApiModelProperty(notes="对象上级编号,项目时填项目编号,任务时填项目编号,产品时填产品编号,需求时填产品编号,bug时填产品编号,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String pbizId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="用户名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String username; |
|||
|
|||
|
|||
@ApiModelProperty(notes="对象类型:项目-1/任务-2/产品-3/需求-4/bug-5",allowEmptyValue=true,example="",allowableValues="") |
|||
String focusType; |
|||
|
|||
|
|||
@ApiModelProperty(notes="任务名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizName; |
|||
|
|||
|
|||
@ApiModelProperty(notes="对象上级名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String pbizName; |
|||
|
|||
|
|||
@ApiModelProperty(notes="进入时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date ftime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="用户归属机构",allowEmptyValue=true,example="",allowableValues="") |
|||
String ubranchId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="离开时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date ltime; |
|||
|
|||
/** |
|||
*用户编号,关注的对象主键,对象上级编号,项目时填项目编号,任务时填项目编号,产品时填产品编号,需求时填产品编号,bug时填产品编号 |
|||
**/ |
|||
public XmMyFootPrint(String userid,String bizId,String pbizId) { |
|||
this.userid = userid; |
|||
this.bizId = bizId; |
|||
this.pbizId = pbizId; |
|||
} |
|||
|
|||
/** |
|||
* 我关注的项目或者任务 |
|||
**/ |
|||
public XmMyFootPrint() { |
|||
} |
|||
|
|||
} |
|||
904
xm-core/src/main/java/com/xm/core/entity/XmProductState.java
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
912
xm-core/src/main/java/com/xm/core/entity/XmProductStateHis.java
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,86 @@ |
|||
package com.xm.core.entity; |
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@Data |
|||
@TableName("xm_product_version") |
|||
@ApiModel(description="产品版本编号") |
|||
public class XmProductVersion implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableIds |
|||
|
|||
@ApiModelProperty(notes="版本号,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String id; |
|||
@TableIds |
|||
|
|||
@ApiModelProperty(notes="产品编号,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String productId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="版本描述",allowEmptyValue=true,example="",allowableValues="") |
|||
String remark; |
|||
|
|||
|
|||
@ApiModelProperty(notes="版本状态0-未开始,1-进行中,2-已发布",allowEmptyValue=true,example="",allowableValues="") |
|||
String vstatus; |
|||
|
|||
|
|||
@ApiModelProperty(notes="进度0-100之间",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer vrate; |
|||
|
|||
|
|||
@ApiModelProperty(notes="发布时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date ptime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="开始时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date startTime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结束时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date endTime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="负责人",allowEmptyValue=true,example="",allowableValues="") |
|||
String admUserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="负责人姓名",allowEmptyValue=true,example="",allowableValues="") |
|||
String admUsername; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date ctime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="版本名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String name; |
|||
|
|||
/** |
|||
*版本号,产品编号 |
|||
**/ |
|||
public XmProductVersion(String id,String productId) { |
|||
this.id = id; |
|||
this.productId = productId; |
|||
} |
|||
|
|||
/** |
|||
* 产品版本编号 |
|||
**/ |
|||
public XmProductVersion() { |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,109 @@ |
|||
package com.xm.core.entity; |
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@Data |
|||
@TableName("xm_project_env_list") |
|||
@ApiModel(description="项目环境清单") |
|||
public class XmProjectEnvList implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="主键,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String id; |
|||
|
|||
|
|||
@ApiModelProperty(notes="备注说明",allowEmptyValue=true,example="",allowableValues="") |
|||
String remark; |
|||
|
|||
|
|||
@ApiModelProperty(notes="ip地址",allowEmptyValue=true,example="",allowableValues="") |
|||
String ipAddress; |
|||
|
|||
|
|||
@ApiModelProperty(notes="访问端口",allowEmptyValue=true,example="",allowableValues="") |
|||
String port; |
|||
|
|||
|
|||
@ApiModelProperty(notes="归属项目组",allowEmptyValue=true,example="",allowableValues="") |
|||
String projectId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="归属项目组名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String projectName; |
|||
|
|||
|
|||
@ApiModelProperty(notes="访问用户编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String accessUserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="访问密码",allowEmptyValue=true,example="",allowableValues="") |
|||
String accessPassword; |
|||
|
|||
|
|||
@ApiModelProperty(notes="作用说明",allowEmptyValue=true,example="",allowableValues="") |
|||
String effect; |
|||
|
|||
|
|||
@ApiModelProperty(notes="访问链接",allowEmptyValue=true,example="",allowableValues="") |
|||
String accessUrl; |
|||
|
|||
|
|||
@ApiModelProperty(notes="外网ip地址",allowEmptyValue=true,example="",allowableValues="") |
|||
String webIpAddress; |
|||
|
|||
|
|||
@ApiModelProperty(notes="外网端口",allowEmptyValue=true,example="",allowableValues="") |
|||
String webPort; |
|||
|
|||
|
|||
@ApiModelProperty(notes="其它说明",allowEmptyValue=true,example="",allowableValues="") |
|||
String otherRemark; |
|||
|
|||
|
|||
@ApiModelProperty(notes="添加人员",allowEmptyValue=true,example="",allowableValues="") |
|||
String createUserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="添加人员姓名",allowEmptyValue=true,example="",allowableValues="") |
|||
String createUsername; |
|||
|
|||
|
|||
@ApiModelProperty(notes="添加时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date createTime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="当前流程实例编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizProcInstId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="当前流程状态0初始1审批中2审批通过3审批不通过4流程取消或者删除",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizFlowState; |
|||
|
|||
/** |
|||
*主键 |
|||
**/ |
|||
public XmProjectEnvList(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
/** |
|||
* 项目环境清单 |
|||
**/ |
|||
public XmProjectEnvList() { |
|||
} |
|||
|
|||
} |
|||
@ -1,259 +1,97 @@ |
|||
package com.xm.core.entity; |
|||
|
|||
package com.xm.core.entity; |
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 组织 com.qqkj 顶级模块 oa 大模块 xm 小模块 <br> |
|||
* 实体 XmProjectKpi所有属性名: <br> |
|||
* projectId,branchId,kpiIndex,kpiName,maxValue,minValue,id,score,scoreDate,bizFlowState,bizProcInstId,kpiValue,remark,calcType,nextCalcDate;<br> |
|||
* 表 XM.xm_project_kpi xm_project_kpi的所有字段名: <br> |
|||
* project_id,branch_id,kpi_index,kpi_name,max_value,min_value,id,score,score_date,biz_flow_state,biz_proc_inst_id,kpi_value,remark,calc_type,next_calc_date;<br> |
|||
* 当前主键(包括多主键):<br> |
|||
* id;<br> |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@ApiModel(description="xm_project_kpi") |
|||
@Data |
|||
@TableName("xm_project_kpi") |
|||
@ApiModel(description="项目关键指标考核") |
|||
public class XmProjectKpi implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="主键,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String id; |
|||
|
|||
|
|||
|
|||
@ApiModelProperty(notes="项目编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String projectId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="机构编码",allowEmptyValue=true,example="",allowableValues="") |
|||
String branchId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="指标编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String kpiIndex; |
|||
|
|||
|
|||
@ApiModelProperty(notes="指标名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String kpiName; |
|||
|
|||
|
|||
@ApiModelProperty(notes="最大值",allowEmptyValue=true,example="",allowableValues="") |
|||
String maxValue; |
|||
|
|||
|
|||
@ApiModelProperty(notes="最小值",allowEmptyValue=true,example="",allowableValues="") |
|||
String minValue; |
|||
|
|||
|
|||
@ApiModelProperty(notes="得分0~10分",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer score; |
|||
|
|||
|
|||
@ApiModelProperty(notes="评分日期",allowEmptyValue=true,example="",allowableValues="") |
|||
Date scoreDate; |
|||
|
|||
|
|||
@ApiModelProperty(notes="流程状态",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizFlowState; |
|||
|
|||
|
|||
@ApiModelProperty(notes="流程实例编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizProcInstId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="kpi当前值",allowEmptyValue=true,example="",allowableValues="") |
|||
String kpiValue; |
|||
|
|||
|
|||
@ApiModelProperty(notes="备注",allowEmptyValue=true,example="",allowableValues="") |
|||
String remark; |
|||
|
|||
|
|||
@ApiModelProperty(notes="考核方式0月1季度3半年4一年",allowEmptyValue=true,example="",allowableValues="") |
|||
String calcType; |
|||
|
|||
|
|||
@ApiModelProperty(notes="下次考核开始时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date nextCalcDate; |
|||
|
|||
/**主键**/ |
|||
/** |
|||
*主键 |
|||
**/ |
|||
public XmProjectKpi(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
/**xm_project_kpi**/ |
|||
/** |
|||
* 项目关键指标考核 |
|||
**/ |
|||
public XmProjectKpi() { |
|||
} |
|||
|
|||
/** |
|||
* 项目编号 |
|||
**/ |
|||
public void setProjectId(String projectId) { |
|||
this.projectId = projectId; |
|||
} |
|||
/** |
|||
* 机构编码 |
|||
**/ |
|||
public void setBranchId(String branchId) { |
|||
this.branchId = branchId; |
|||
} |
|||
/** |
|||
* 指标编号 |
|||
**/ |
|||
public void setKpiIndex(String kpiIndex) { |
|||
this.kpiIndex = kpiIndex; |
|||
} |
|||
/** |
|||
* 指标名称 |
|||
**/ |
|||
public void setKpiName(String kpiName) { |
|||
this.kpiName = kpiName; |
|||
} |
|||
/** |
|||
* 最大值 |
|||
**/ |
|||
public void setMaxValue(String maxValue) { |
|||
this.maxValue = maxValue; |
|||
} |
|||
/** |
|||
* 最小值 |
|||
**/ |
|||
public void setMinValue(String minValue) { |
|||
this.minValue = minValue; |
|||
} |
|||
/** |
|||
* 主键 |
|||
**/ |
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
/** |
|||
* 得分0~10分 |
|||
**/ |
|||
public void setScore(Integer score) { |
|||
this.score = score; |
|||
} |
|||
/** |
|||
* 评分日期 |
|||
**/ |
|||
public void setScoreDate(Date scoreDate) { |
|||
this.scoreDate = scoreDate; |
|||
} |
|||
/** |
|||
* 流程状态 |
|||
**/ |
|||
public void setBizFlowState(String bizFlowState) { |
|||
this.bizFlowState = bizFlowState; |
|||
} |
|||
/** |
|||
* 流程实例编号 |
|||
**/ |
|||
public void setBizProcInstId(String bizProcInstId) { |
|||
this.bizProcInstId = bizProcInstId; |
|||
} |
|||
/** |
|||
* kpi当前值 |
|||
**/ |
|||
public void setKpiValue(String kpiValue) { |
|||
this.kpiValue = kpiValue; |
|||
} |
|||
/** |
|||
* 备注 |
|||
**/ |
|||
public void setRemark(String remark) { |
|||
this.remark = remark; |
|||
} |
|||
/** |
|||
* 考核方式0月1季度3半年4一年 |
|||
**/ |
|||
public void setCalcType(String calcType) { |
|||
this.calcType = calcType; |
|||
} |
|||
/** |
|||
* 下次考核开始时间 |
|||
**/ |
|||
public void setNextCalcDate(Date nextCalcDate) { |
|||
this.nextCalcDate = nextCalcDate; |
|||
} |
|||
|
|||
/** |
|||
* 项目编号 |
|||
**/ |
|||
public String getProjectId() { |
|||
return this.projectId; |
|||
} |
|||
/** |
|||
* 机构编码 |
|||
**/ |
|||
public String getBranchId() { |
|||
return this.branchId; |
|||
} |
|||
/** |
|||
* 指标编号 |
|||
**/ |
|||
public String getKpiIndex() { |
|||
return this.kpiIndex; |
|||
} |
|||
/** |
|||
* 指标名称 |
|||
**/ |
|||
public String getKpiName() { |
|||
return this.kpiName; |
|||
} |
|||
/** |
|||
* 最大值 |
|||
**/ |
|||
public String getMaxValue() { |
|||
return this.maxValue; |
|||
} |
|||
/** |
|||
* 最小值 |
|||
**/ |
|||
public String getMinValue() { |
|||
return this.minValue; |
|||
} |
|||
/** |
|||
* 主键 |
|||
**/ |
|||
public String getId() { |
|||
return this.id; |
|||
} |
|||
/** |
|||
* 得分0~10分 |
|||
**/ |
|||
public Integer getScore() { |
|||
return this.score; |
|||
} |
|||
/** |
|||
* 评分日期 |
|||
**/ |
|||
public Date getScoreDate() { |
|||
return this.scoreDate; |
|||
} |
|||
/** |
|||
* 流程状态 |
|||
**/ |
|||
public String getBizFlowState() { |
|||
return this.bizFlowState; |
|||
} |
|||
/** |
|||
* 流程实例编号 |
|||
**/ |
|||
public String getBizProcInstId() { |
|||
return this.bizProcInstId; |
|||
} |
|||
/** |
|||
* kpi当前值 |
|||
**/ |
|||
public String getKpiValue() { |
|||
return this.kpiValue; |
|||
} |
|||
/** |
|||
* 备注 |
|||
**/ |
|||
public String getRemark() { |
|||
return this.remark; |
|||
} |
|||
/** |
|||
* 考核方式0月1季度3半年4一年 |
|||
**/ |
|||
public String getCalcType() { |
|||
return this.calcType; |
|||
} |
|||
/** |
|||
* 下次考核开始时间 |
|||
**/ |
|||
public Date getNextCalcDate() { |
|||
return this.nextCalcDate; |
|||
} |
|||
|
|||
} |
|||
@ -1,289 +1,105 @@ |
|||
package com.xm.core.entity; |
|||
|
|||
package com.xm.core.entity; |
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 组织 com.qqkj 顶级模块 oa 大模块 xm 小模块 <br> |
|||
* 实体 XmProjectKpiHis所有属性名: <br> |
|||
* projectId,branchId,kpiIndex,kpiName,maxValue,minValue,kpiId,score,scoreDate,bizFlowState,bizProcInstId,kpiValue,cdate,id,remark,calcType,nextCalcDate;<br> |
|||
* 表 XM.xm_project_kpi_his xm_project_kpi_his的所有字段名: <br> |
|||
* project_id,branch_id,kpi_index,kpi_name,max_value,min_value,kpi_id,score,score_date,biz_flow_state,biz_proc_inst_id,kpi_value,cdate,id,remark,calc_type,next_calc_date;<br> |
|||
* 当前主键(包括多主键):<br> |
|||
* kpi_id;<br> |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@ApiModel(description="xm_project_kpi_his") |
|||
@Data |
|||
@TableName("xm_project_kpi_his") |
|||
@ApiModel(description="项目关键指标考核") |
|||
public class XmProjectKpiHis implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="kpi主表主键,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String kpiId; |
|||
|
|||
|
|||
|
|||
@ApiModelProperty(notes="项目编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String projectId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="机构编码",allowEmptyValue=true,example="",allowableValues="") |
|||
String branchId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="指标编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String kpiIndex; |
|||
|
|||
|
|||
@ApiModelProperty(notes="指标名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String kpiName; |
|||
|
|||
|
|||
@ApiModelProperty(notes="最大值",allowEmptyValue=true,example="",allowableValues="") |
|||
String maxValue; |
|||
|
|||
|
|||
@ApiModelProperty(notes="最小值",allowEmptyValue=true,example="",allowableValues="") |
|||
String minValue; |
|||
|
|||
|
|||
@ApiModelProperty(notes="得分0~10分",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer score; |
|||
|
|||
|
|||
@ApiModelProperty(notes="评分日期",allowEmptyValue=true,example="",allowableValues="") |
|||
Date scoreDate; |
|||
|
|||
|
|||
@ApiModelProperty(notes="流程状态",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizFlowState; |
|||
|
|||
|
|||
@ApiModelProperty(notes="流程实例编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizProcInstId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="kpi当前值",allowEmptyValue=true,example="",allowableValues="") |
|||
String kpiValue; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建日期",allowEmptyValue=true,example="",allowableValues="") |
|||
Date cdate; |
|||
|
|||
|
|||
@ApiModelProperty(notes="主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String id; |
|||
|
|||
|
|||
@ApiModelProperty(notes="备注",allowEmptyValue=true,example="",allowableValues="") |
|||
String remark; |
|||
|
|||
|
|||
@ApiModelProperty(notes="考核方式0月1季度3半年4一年",allowEmptyValue=true,example="",allowableValues="") |
|||
String calcType; |
|||
|
|||
|
|||
@ApiModelProperty(notes="下次考核开始时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date nextCalcDate; |
|||
|
|||
/**kpi主表主键**/ |
|||
/** |
|||
*kpi主表主键 |
|||
**/ |
|||
public XmProjectKpiHis(String kpiId) { |
|||
this.kpiId = kpiId; |
|||
} |
|||
|
|||
/**xm_project_kpi_his**/ |
|||
/** |
|||
* 项目关键指标考核 |
|||
**/ |
|||
public XmProjectKpiHis() { |
|||
} |
|||
|
|||
/** |
|||
* 项目编号 |
|||
**/ |
|||
public void setProjectId(String projectId) { |
|||
this.projectId = projectId; |
|||
} |
|||
/** |
|||
* 机构编码 |
|||
**/ |
|||
public void setBranchId(String branchId) { |
|||
this.branchId = branchId; |
|||
} |
|||
/** |
|||
* 指标编号 |
|||
**/ |
|||
public void setKpiIndex(String kpiIndex) { |
|||
this.kpiIndex = kpiIndex; |
|||
} |
|||
/** |
|||
* 指标名称 |
|||
**/ |
|||
public void setKpiName(String kpiName) { |
|||
this.kpiName = kpiName; |
|||
} |
|||
/** |
|||
* 最大值 |
|||
**/ |
|||
public void setMaxValue(String maxValue) { |
|||
this.maxValue = maxValue; |
|||
} |
|||
/** |
|||
* 最小值 |
|||
**/ |
|||
public void setMinValue(String minValue) { |
|||
this.minValue = minValue; |
|||
} |
|||
/** |
|||
* kpi主表主键 |
|||
**/ |
|||
public void setKpiId(String kpiId) { |
|||
this.kpiId = kpiId; |
|||
} |
|||
/** |
|||
* 得分0~10分 |
|||
**/ |
|||
public void setScore(Integer score) { |
|||
this.score = score; |
|||
} |
|||
/** |
|||
* 评分日期 |
|||
**/ |
|||
public void setScoreDate(Date scoreDate) { |
|||
this.scoreDate = scoreDate; |
|||
} |
|||
/** |
|||
* 流程状态 |
|||
**/ |
|||
public void setBizFlowState(String bizFlowState) { |
|||
this.bizFlowState = bizFlowState; |
|||
} |
|||
/** |
|||
* 流程实例编号 |
|||
**/ |
|||
public void setBizProcInstId(String bizProcInstId) { |
|||
this.bizProcInstId = bizProcInstId; |
|||
} |
|||
/** |
|||
* kpi当前值 |
|||
**/ |
|||
public void setKpiValue(String kpiValue) { |
|||
this.kpiValue = kpiValue; |
|||
} |
|||
/** |
|||
* 创建日期 |
|||
**/ |
|||
public void setCdate(Date cdate) { |
|||
this.cdate = cdate; |
|||
} |
|||
/** |
|||
* 主键 |
|||
**/ |
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
/** |
|||
* 备注 |
|||
**/ |
|||
public void setRemark(String remark) { |
|||
this.remark = remark; |
|||
} |
|||
/** |
|||
* 考核方式0月1季度3半年4一年 |
|||
**/ |
|||
public void setCalcType(String calcType) { |
|||
this.calcType = calcType; |
|||
} |
|||
/** |
|||
* 下次考核开始时间 |
|||
**/ |
|||
public void setNextCalcDate(Date nextCalcDate) { |
|||
this.nextCalcDate = nextCalcDate; |
|||
} |
|||
|
|||
/** |
|||
* 项目编号 |
|||
**/ |
|||
public String getProjectId() { |
|||
return this.projectId; |
|||
} |
|||
/** |
|||
* 机构编码 |
|||
**/ |
|||
public String getBranchId() { |
|||
return this.branchId; |
|||
} |
|||
/** |
|||
* 指标编号 |
|||
**/ |
|||
public String getKpiIndex() { |
|||
return this.kpiIndex; |
|||
} |
|||
/** |
|||
* 指标名称 |
|||
**/ |
|||
public String getKpiName() { |
|||
return this.kpiName; |
|||
} |
|||
/** |
|||
* 最大值 |
|||
**/ |
|||
public String getMaxValue() { |
|||
return this.maxValue; |
|||
} |
|||
/** |
|||
* 最小值 |
|||
**/ |
|||
public String getMinValue() { |
|||
return this.minValue; |
|||
} |
|||
/** |
|||
* kpi主表主键 |
|||
**/ |
|||
public String getKpiId() { |
|||
return this.kpiId; |
|||
} |
|||
/** |
|||
* 得分0~10分 |
|||
**/ |
|||
public Integer getScore() { |
|||
return this.score; |
|||
} |
|||
/** |
|||
* 评分日期 |
|||
**/ |
|||
public Date getScoreDate() { |
|||
return this.scoreDate; |
|||
} |
|||
/** |
|||
* 流程状态 |
|||
**/ |
|||
public String getBizFlowState() { |
|||
return this.bizFlowState; |
|||
} |
|||
/** |
|||
* 流程实例编号 |
|||
**/ |
|||
public String getBizProcInstId() { |
|||
return this.bizProcInstId; |
|||
} |
|||
/** |
|||
* kpi当前值 |
|||
**/ |
|||
public String getKpiValue() { |
|||
return this.kpiValue; |
|||
} |
|||
/** |
|||
* 创建日期 |
|||
**/ |
|||
public Date getCdate() { |
|||
return this.cdate; |
|||
} |
|||
/** |
|||
* 主键 |
|||
**/ |
|||
public String getId() { |
|||
return this.id; |
|||
} |
|||
/** |
|||
* 备注 |
|||
**/ |
|||
public String getRemark() { |
|||
return this.remark; |
|||
} |
|||
/** |
|||
* 考核方式0月1季度3半年4一年 |
|||
**/ |
|||
public String getCalcType() { |
|||
return this.calcType; |
|||
} |
|||
/** |
|||
* 下次考核开始时间 |
|||
**/ |
|||
public Date getNextCalcDate() { |
|||
return this.nextCalcDate; |
|||
} |
|||
|
|||
} |
|||
891
xm-core/src/main/java/com/xm/core/entity/XmProjectState.java
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
899
xm-core/src/main/java/com/xm/core/entity/XmProjectStateHis.java
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,290 +1,106 @@ |
|||
package com.xm.core.entity; |
|||
|
|||
package com.xm.core.entity; |
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* 组织 com.qqkj 顶级模块 oa 大模块 xm 小模块 <br> |
|||
* 实体 XmQuestionHandle所有属性名: <br> |
|||
* id,handlerUserid,handlerUsername,handleSolution,receiptMessage,receiptTime,handleStatus,bizProcInstId,bizFlowState,questionId,lastUpdateTime,createTime,actWorkload,actCostAmount,urls,targetUserid,targetUsername;<br> |
|||
* 表 XM.xm_question_handle xm_question_handle的所有字段名: <br> |
|||
* id,handler_userid,handler_username,handle_solution,receipt_message,receipt_time,handle_status,biz_proc_inst_id,biz_flow_state,question_id,last_update_time,create_time,act_workload,act_cost_amount,urls,target_userid,target_username;<br> |
|||
* 当前主键(包括多主键):<br> |
|||
* id;<br> |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@Data |
|||
@TableName("xm_question_handle") |
|||
@ApiModel(description="xm_question_handle") |
|||
public class XmQuestionHandle implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="主键,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String id; |
|||
|
|||
|
|||
|
|||
@ApiModelProperty(notes="处理人编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String handlerUserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="处理人",allowEmptyValue=true,example="",allowableValues="") |
|||
String handlerUsername; |
|||
|
|||
|
|||
@ApiModelProperty(notes="解决方案:",allowEmptyValue=true,example="",allowableValues="") |
|||
String handleSolution; |
|||
|
|||
|
|||
@ApiModelProperty(notes="回执信息",allowEmptyValue=true,example="",allowableValues="") |
|||
String receiptMessage; |
|||
|
|||
|
|||
@ApiModelProperty(notes="回执时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date receiptTime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="create创建(active激活)–confirm确认(confirmed已确认)–solve解决(resolved已解决)–close关闭(closed已关闭)",allowEmptyValue=true,example="",allowableValues="") |
|||
@ApiModelProperty(notes="=bugStatus",allowEmptyValue=true,example="",allowableValues="") |
|||
String handleStatus; |
|||
|
|||
|
|||
@ApiModelProperty(notes="当前流程实例编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizProcInstId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="当前流程状态0初始1审批中2审批通过3审批不通过4流程取消或者删除",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizFlowState; |
|||
|
|||
|
|||
@ApiModelProperty(notes="问题编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String questionId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="最后更新日期",allowEmptyValue=true,example="",allowableValues="") |
|||
Date lastUpdateTime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date createTime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="实际工时",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actWorkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="实际金额",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal actCostAmount; |
|||
|
|||
|
|||
@ApiModelProperty(notes="链接地址列表逗号分隔",allowEmptyValue=true,example="",allowableValues="") |
|||
String urls; |
|||
|
|||
|
|||
@ApiModelProperty(notes="指派给谁",allowEmptyValue=true,example="",allowableValues="") |
|||
String targetUserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="指派给谁",allowEmptyValue=true,example="",allowableValues="") |
|||
String targetUsername; |
|||
|
|||
/**主键**/ |
|||
/** |
|||
*主键 |
|||
**/ |
|||
public XmQuestionHandle(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
/**xm_question_handle**/ |
|||
/** |
|||
* xm_question_handle |
|||
**/ |
|||
public XmQuestionHandle() { |
|||
} |
|||
|
|||
/** |
|||
* 主键 |
|||
**/ |
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
/** |
|||
* 处理人编号 |
|||
**/ |
|||
public void setHandlerUserid(String handlerUserid) { |
|||
this.handlerUserid = handlerUserid; |
|||
} |
|||
/** |
|||
* 处理人 |
|||
**/ |
|||
public void setHandlerUsername(String handlerUsername) { |
|||
this.handlerUsername = handlerUsername; |
|||
} |
|||
/** |
|||
* 解决方案: |
|||
**/ |
|||
public void setHandleSolution(String handleSolution) { |
|||
this.handleSolution = handleSolution; |
|||
} |
|||
/** |
|||
* 回执信息 |
|||
**/ |
|||
public void setReceiptMessage(String receiptMessage) { |
|||
this.receiptMessage = receiptMessage; |
|||
} |
|||
/** |
|||
* 回执时间 |
|||
**/ |
|||
public void setReceiptTime(Date receiptTime) { |
|||
this.receiptTime = receiptTime; |
|||
} |
|||
/** |
|||
* create创建(active激活)–confirm确认(confirmed已确认)–solve解决(resolved已解决)–close关闭(closed已关闭) |
|||
**/ |
|||
public void setHandleStatus(String handleStatus) { |
|||
this.handleStatus = handleStatus; |
|||
} |
|||
/** |
|||
* 当前流程实例编号 |
|||
**/ |
|||
public void setBizProcInstId(String bizProcInstId) { |
|||
this.bizProcInstId = bizProcInstId; |
|||
} |
|||
/** |
|||
* 当前流程状态0初始1审批中2审批通过3审批不通过4流程取消或者删除 |
|||
**/ |
|||
public void setBizFlowState(String bizFlowState) { |
|||
this.bizFlowState = bizFlowState; |
|||
} |
|||
/** |
|||
* 问题编号 |
|||
**/ |
|||
public void setQuestionId(String questionId) { |
|||
this.questionId = questionId; |
|||
} |
|||
/** |
|||
* 最后更新日期 |
|||
**/ |
|||
public void setLastUpdateTime(Date lastUpdateTime) { |
|||
this.lastUpdateTime = lastUpdateTime; |
|||
} |
|||
/** |
|||
* 创建时间 |
|||
**/ |
|||
public void setCreateTime(Date createTime) { |
|||
this.createTime = createTime; |
|||
} |
|||
/** |
|||
* 实际工时 |
|||
**/ |
|||
public void setActWorkload(BigDecimal actWorkload) { |
|||
this.actWorkload = actWorkload; |
|||
} |
|||
/** |
|||
* 实际金额 |
|||
**/ |
|||
public void setActCostAmount(BigDecimal actCostAmount) { |
|||
this.actCostAmount = actCostAmount; |
|||
} |
|||
/** |
|||
* 链接地址列表逗号分隔 |
|||
**/ |
|||
public void setUrls(String urls) { |
|||
this.urls = urls; |
|||
} |
|||
/** |
|||
* 指派给谁 |
|||
**/ |
|||
public void setTargetUserid(String targetUserid) { |
|||
this.targetUserid = targetUserid; |
|||
} |
|||
/** |
|||
* 指派给谁 |
|||
**/ |
|||
public void setTargetUsername(String targetUsername) { |
|||
this.targetUsername = targetUsername; |
|||
} |
|||
|
|||
/** |
|||
* 主键 |
|||
**/ |
|||
public String getId() { |
|||
return this.id; |
|||
} |
|||
/** |
|||
* 处理人编号 |
|||
**/ |
|||
public String getHandlerUserid() { |
|||
return this.handlerUserid; |
|||
} |
|||
/** |
|||
* 处理人 |
|||
**/ |
|||
public String getHandlerUsername() { |
|||
return this.handlerUsername; |
|||
} |
|||
/** |
|||
* 解决方案: |
|||
**/ |
|||
public String getHandleSolution() { |
|||
return this.handleSolution; |
|||
} |
|||
/** |
|||
* 回执信息 |
|||
**/ |
|||
public String getReceiptMessage() { |
|||
return this.receiptMessage; |
|||
} |
|||
/** |
|||
* 回执时间 |
|||
**/ |
|||
public Date getReceiptTime() { |
|||
return this.receiptTime; |
|||
} |
|||
/** |
|||
* create创建(active激活)–confirm确认(confirmed已确认)–solve解决(resolved已解决)–close关闭(closed已关闭) |
|||
**/ |
|||
public String getHandleStatus() { |
|||
return this.handleStatus; |
|||
} |
|||
/** |
|||
* 当前流程实例编号 |
|||
**/ |
|||
public String getBizProcInstId() { |
|||
return this.bizProcInstId; |
|||
} |
|||
/** |
|||
* 当前流程状态0初始1审批中2审批通过3审批不通过4流程取消或者删除 |
|||
**/ |
|||
public String getBizFlowState() { |
|||
return this.bizFlowState; |
|||
} |
|||
/** |
|||
* 问题编号 |
|||
**/ |
|||
public String getQuestionId() { |
|||
return this.questionId; |
|||
} |
|||
/** |
|||
* 最后更新日期 |
|||
**/ |
|||
public Date getLastUpdateTime() { |
|||
return this.lastUpdateTime; |
|||
} |
|||
/** |
|||
* 创建时间 |
|||
**/ |
|||
public Date getCreateTime() { |
|||
return this.createTime; |
|||
} |
|||
/** |
|||
* 实际工时 |
|||
**/ |
|||
public BigDecimal getActWorkload() { |
|||
return this.actWorkload; |
|||
} |
|||
/** |
|||
* 实际金额 |
|||
**/ |
|||
public BigDecimal getActCostAmount() { |
|||
return this.actCostAmount; |
|||
} |
|||
/** |
|||
* 链接地址列表逗号分隔 |
|||
**/ |
|||
public String getUrls() { |
|||
return this.urls; |
|||
} |
|||
/** |
|||
* 指派给谁 |
|||
**/ |
|||
public String getTargetUserid() { |
|||
return this.targetUserid; |
|||
} |
|||
/** |
|||
* 指派给谁 |
|||
**/ |
|||
public String getTargetUsername() { |
|||
return this.targetUsername; |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,106 @@ |
|||
package com.xm.core.entity; |
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import java.util.Date; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@Data |
|||
@TableName("xm_question_workload") |
|||
@ApiModel(description="工时登记表") |
|||
public class XmQuestionWorkload implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="主键,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer id; |
|||
|
|||
|
|||
@ApiModelProperty(notes="员工编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String userid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="姓名",allowEmptyValue=true,example="",allowableValues="") |
|||
String username; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建日期",allowEmptyValue=true,example="",allowableValues="") |
|||
Date ctime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="业务对象主键任务编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String bugId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建人编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String cuserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="业务日期yyyy-MM-dd",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizDate; |
|||
|
|||
|
|||
@ApiModelProperty(notes="状态0-待确认,1-已确认,2-无效",allowEmptyValue=true,example="",allowableValues="") |
|||
String wstatus; |
|||
|
|||
|
|||
@ApiModelProperty(notes="备注",allowEmptyValue=true,example="",allowableValues="") |
|||
String remark; |
|||
|
|||
|
|||
@ApiModelProperty(notes="任务类型-关联字典taskType",allowEmptyValue=true,example="",allowableValues="") |
|||
String ttype; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结算单据编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String sbillId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结算提交时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date stime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结算状态0-无需结算,1-待结算2-已提交3-已通过4-已结算",allowEmptyValue=true,example="",allowableValues="") |
|||
String sstatus; |
|||
|
|||
|
|||
@ApiModelProperty(notes="工时对应金额",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal amt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结算金额",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal samt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="工时,一个bug可多次提交,小时",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal workload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String projectId; |
|||
|
|||
/** |
|||
*主键 |
|||
**/ |
|||
public XmQuestionWorkload(Integer id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
/** |
|||
* 工时登记表 |
|||
**/ |
|||
public XmQuestionWorkload() { |
|||
} |
|||
|
|||
} |
|||
121
xm-core/src/main/java/com/xm/core/entity/XmTask.java
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,114 @@ |
|||
package com.xm.core.entity; |
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import java.util.Date; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@Data |
|||
@TableName("xm_task_comment") |
|||
@ApiModel(description="档案评论表") |
|||
public class XmTaskComment implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="主键,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String id; |
|||
|
|||
|
|||
@ApiModelProperty(notes="评论人",allowEmptyValue=true,example="",allowableValues="") |
|||
String userid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="评论人姓名",allowEmptyValue=true,example="",allowableValues="") |
|||
String username; |
|||
|
|||
|
|||
@ApiModelProperty(notes="星级",allowEmptyValue=true,example="",allowableValues="") |
|||
String star; |
|||
|
|||
|
|||
@ApiModelProperty(notes="时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date cdate; |
|||
|
|||
|
|||
@ApiModelProperty(notes="需求编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String taskId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="上级评论",allowEmptyValue=true,example="",allowableValues="") |
|||
String pid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="点赞数量",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal ups; |
|||
|
|||
|
|||
@ApiModelProperty(notes="是否显示0否1是",allowEmptyValue=true,example="",allowableValues="") |
|||
String isShow; |
|||
|
|||
|
|||
@ApiModelProperty(notes="回复用户编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String toUserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="回复用户名",allowEmptyValue=true,example="",allowableValues="") |
|||
String toUsername; |
|||
|
|||
|
|||
@ApiModelProperty(notes="层级0,1,2,3,4",allowEmptyValue=true,example="",allowableValues="") |
|||
String lvl; |
|||
|
|||
|
|||
@ApiModelProperty(notes="评论内容",allowEmptyValue=true,example="",allowableValues="") |
|||
String context; |
|||
|
|||
|
|||
@ApiModelProperty(notes="机构编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String branchId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="ip地址",allowEmptyValue=true,example="",allowableValues="") |
|||
String ip; |
|||
|
|||
|
|||
@ApiModelProperty(notes="城市编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String cityId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="城市名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String cityName; |
|||
|
|||
|
|||
@ApiModelProperty(notes="状态0未审核,1已审核,3审核不通过",allowEmptyValue=true,example="",allowableValues="") |
|||
String status; |
|||
|
|||
|
|||
@ApiModelProperty(notes="儿子节点数量",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer childNums; |
|||
|
|||
/** |
|||
*主键 |
|||
**/ |
|||
public XmTaskComment(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
/** |
|||
* 档案评论表 |
|||
**/ |
|||
public XmTaskComment() { |
|||
} |
|||
|
|||
} |
|||
@ -1,380 +1,130 @@ |
|||
package com.xm.core.entity; |
|||
|
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 组织 com 顶级模块 xm 大模块 core 小模块 <br> |
|||
* 实体 XmTaskSbill所有属性名: <br> |
|||
* id,title,amt,ctime,cuserid,cusername,remark,branchId,deptid,cpId,cpName,workload,bizMonth,bizDate,bizFlowState,bizProcInstId,ltime,status,fmsg,projectId,projectName,userCnt,cpType;<br> |
|||
* 表 xm_task_sbill 任务结算表的所有字段名: <br> |
|||
* id,title,amt,ctime,cuserid,cusername,remark,branch_id,deptid,cp_id,cp_name,workload,biz_month,biz_date,biz_flow_state,biz_proc_inst_id,ltime,status,fmsg,project_id,project_name,user_cnt,cp_type;<br> |
|||
* 当前主键(包括多主键):<br> |
|||
* id;<br> |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@ApiModel(description="任务结算表") |
|||
@Data |
|||
@TableName("xm_task_sbill") |
|||
@ApiModel(description="任务结算表-一个结算单对应1个或者多个任务,结算对象只能有一个") |
|||
public class XmTaskSbill implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="结算单据编号,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String id; |
|||
|
|||
|
|||
|
|||
@ApiModelProperty(notes="结算单标题",allowEmptyValue=true,example="",allowableValues="") |
|||
String title; |
|||
|
|||
|
|||
@ApiModelProperty(notes="金额=工时表中结算金额之和",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal amt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date ctime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建人编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String cuserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建人姓名",allowEmptyValue=true,example="",allowableValues="") |
|||
String cusername; |
|||
|
|||
|
|||
@ApiModelProperty(notes="备注",allowEmptyValue=true,example="",allowableValues="") |
|||
String remark; |
|||
|
|||
|
|||
@ApiModelProperty(notes="机构编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String branchId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="部门编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String deptid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="相对方编号(机构写机构号,个人写个人编号)",allowEmptyValue=true,example="",allowableValues="") |
|||
String cpId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="相对方名称(机构写机构名称,个人写个人名称)",allowEmptyValue=true,example="",allowableValues="") |
|||
String cpName; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结算工作量=工时表中工时之和",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal workload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="业务月份yyyy-MM",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizMonth; |
|||
|
|||
|
|||
@ApiModelProperty(notes="业务日期yyyy-MM-dd",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizDate; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结算流程状态:0初始1审批中2审批通过3审批不通过4流程取消或者删除",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizFlowState; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结算流程实例",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizProcInstId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="更新时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date ltime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="0-待提交,1-已提交,2-已通过,3-已付款,4-已完成",allowEmptyValue=true,example="",allowableValues="") |
|||
@ApiModelProperty(notes="0-待提交,1-已提交,2-审核已通过,3-待开票,4-已开票待付款,5-已付款",allowEmptyValue=true,example="",allowableValues="") |
|||
String status; |
|||
|
|||
|
|||
@ApiModelProperty(notes="最后审核意见",allowEmptyValue=true,example="",allowableValues="") |
|||
String fmsg; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String projectId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目名称",allowEmptyValue=true,example="",allowableValues="") |
|||
String projectName; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结算人数",allowEmptyValue=true,example="",allowableValues="") |
|||
Integer userCnt; |
|||
|
|||
|
|||
@ApiModelProperty(notes="相对方类型1-个人,2-企业",allowEmptyValue=true,example="",allowableValues="") |
|||
String cpType; |
|||
|
|||
/**结算单据编号**/ |
|||
/** |
|||
*结算单据编号 |
|||
**/ |
|||
public XmTaskSbill(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
/**任务结算表**/ |
|||
/** |
|||
* 任务结算表-一个结算单对应1个或者多个任务,结算对象只能有一个 |
|||
**/ |
|||
public XmTaskSbill() { |
|||
} |
|||
|
|||
/** |
|||
* 结算单据编号 |
|||
**/ |
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
/** |
|||
* 结算单标题 |
|||
**/ |
|||
public void setTitle(String title) { |
|||
this.title = title; |
|||
} |
|||
/** |
|||
* 金额=工时表中结算金额之和 |
|||
**/ |
|||
public void setAmt(BigDecimal amt) { |
|||
this.amt = amt; |
|||
} |
|||
/** |
|||
* 创建时间 |
|||
**/ |
|||
public void setCtime(Date ctime) { |
|||
this.ctime = ctime; |
|||
} |
|||
/** |
|||
* 创建人编号 |
|||
**/ |
|||
public void setCuserid(String cuserid) { |
|||
this.cuserid = cuserid; |
|||
} |
|||
/** |
|||
* 创建人姓名 |
|||
**/ |
|||
public void setCusername(String cusername) { |
|||
this.cusername = cusername; |
|||
} |
|||
/** |
|||
* 备注 |
|||
**/ |
|||
public void setRemark(String remark) { |
|||
this.remark = remark; |
|||
} |
|||
/** |
|||
* 机构编号 |
|||
**/ |
|||
public void setBranchId(String branchId) { |
|||
this.branchId = branchId; |
|||
} |
|||
/** |
|||
* 部门编号 |
|||
**/ |
|||
public void setDeptid(String deptid) { |
|||
this.deptid = deptid; |
|||
} |
|||
/** |
|||
* 相对方编号(机构写机构号,个人写个人编号) |
|||
**/ |
|||
public void setCpId(String cpId) { |
|||
this.cpId = cpId; |
|||
} |
|||
/** |
|||
* 相对方名称(机构写机构名称,个人写个人名称) |
|||
**/ |
|||
public void setCpName(String cpName) { |
|||
this.cpName = cpName; |
|||
} |
|||
/** |
|||
* 结算工作量=工时表中工时之和 |
|||
**/ |
|||
public void setWorkload(BigDecimal workload) { |
|||
this.workload = workload; |
|||
} |
|||
/** |
|||
* 业务月份yyyy-MM |
|||
**/ |
|||
public void setBizMonth(String bizMonth) { |
|||
this.bizMonth = bizMonth; |
|||
} |
|||
/** |
|||
* 业务日期yyyy-MM-dd |
|||
**/ |
|||
public void setBizDate(String bizDate) { |
|||
this.bizDate = bizDate; |
|||
} |
|||
/** |
|||
* 结算流程状态:0初始1审批中2审批通过3审批不通过4流程取消或者删除 |
|||
**/ |
|||
public void setBizFlowState(String bizFlowState) { |
|||
this.bizFlowState = bizFlowState; |
|||
} |
|||
/** |
|||
* 结算流程实例 |
|||
**/ |
|||
public void setBizProcInstId(String bizProcInstId) { |
|||
this.bizProcInstId = bizProcInstId; |
|||
} |
|||
/** |
|||
* 更新时间 |
|||
**/ |
|||
public void setLtime(Date ltime) { |
|||
this.ltime = ltime; |
|||
} |
|||
/** |
|||
* 0-待提交,1-已提交,2-已通过,3-已付款,4-已完成 |
|||
**/ |
|||
public void setStatus(String status) { |
|||
this.status = status; |
|||
} |
|||
/** |
|||
* 最后审核意见 |
|||
**/ |
|||
public void setFmsg(String fmsg) { |
|||
this.fmsg = fmsg; |
|||
} |
|||
/** |
|||
* 项目编号 |
|||
**/ |
|||
public void setProjectId(String projectId) { |
|||
this.projectId = projectId; |
|||
} |
|||
/** |
|||
* 项目名称 |
|||
**/ |
|||
public void setProjectName(String projectName) { |
|||
this.projectName = projectName; |
|||
} |
|||
/** |
|||
* 结算人数 |
|||
**/ |
|||
public void setUserCnt(Integer userCnt) { |
|||
this.userCnt = userCnt; |
|||
} |
|||
/** |
|||
* 相对方类型1-个人,2-企业 |
|||
**/ |
|||
public void setCpType(String cpType) { |
|||
this.cpType = cpType; |
|||
} |
|||
|
|||
/** |
|||
* 结算单据编号 |
|||
**/ |
|||
public String getId() { |
|||
return this.id; |
|||
} |
|||
/** |
|||
* 结算单标题 |
|||
**/ |
|||
public String getTitle() { |
|||
return this.title; |
|||
} |
|||
/** |
|||
* 金额=工时表中结算金额之和 |
|||
**/ |
|||
public BigDecimal getAmt() { |
|||
return this.amt; |
|||
} |
|||
/** |
|||
* 创建时间 |
|||
**/ |
|||
public Date getCtime() { |
|||
return this.ctime; |
|||
} |
|||
/** |
|||
* 创建人编号 |
|||
**/ |
|||
public String getCuserid() { |
|||
return this.cuserid; |
|||
} |
|||
/** |
|||
* 创建人姓名 |
|||
**/ |
|||
public String getCusername() { |
|||
return this.cusername; |
|||
} |
|||
/** |
|||
* 备注 |
|||
**/ |
|||
public String getRemark() { |
|||
return this.remark; |
|||
} |
|||
/** |
|||
* 机构编号 |
|||
**/ |
|||
public String getBranchId() { |
|||
return this.branchId; |
|||
} |
|||
/** |
|||
* 部门编号 |
|||
**/ |
|||
public String getDeptid() { |
|||
return this.deptid; |
|||
} |
|||
/** |
|||
* 相对方编号(机构写机构号,个人写个人编号) |
|||
**/ |
|||
public String getCpId() { |
|||
return this.cpId; |
|||
} |
|||
/** |
|||
* 相对方名称(机构写机构名称,个人写个人名称) |
|||
**/ |
|||
public String getCpName() { |
|||
return this.cpName; |
|||
} |
|||
/** |
|||
* 结算工作量=工时表中工时之和 |
|||
**/ |
|||
public BigDecimal getWorkload() { |
|||
return this.workload; |
|||
} |
|||
/** |
|||
* 业务月份yyyy-MM |
|||
**/ |
|||
public String getBizMonth() { |
|||
return this.bizMonth; |
|||
} |
|||
/** |
|||
* 业务日期yyyy-MM-dd |
|||
**/ |
|||
public String getBizDate() { |
|||
return this.bizDate; |
|||
} |
|||
/** |
|||
* 结算流程状态:0初始1审批中2审批通过3审批不通过4流程取消或者删除 |
|||
**/ |
|||
public String getBizFlowState() { |
|||
return this.bizFlowState; |
|||
} |
|||
/** |
|||
* 结算流程实例 |
|||
**/ |
|||
public String getBizProcInstId() { |
|||
return this.bizProcInstId; |
|||
} |
|||
/** |
|||
* 更新时间 |
|||
**/ |
|||
public Date getLtime() { |
|||
return this.ltime; |
|||
} |
|||
/** |
|||
* 0-待提交,1-已提交,2-已通过,3-已付款,4-已完成 |
|||
**/ |
|||
public String getStatus() { |
|||
return this.status; |
|||
} |
|||
/** |
|||
* 最后审核意见 |
|||
**/ |
|||
public String getFmsg() { |
|||
return this.fmsg; |
|||
} |
|||
/** |
|||
* 项目编号 |
|||
**/ |
|||
public String getProjectId() { |
|||
return this.projectId; |
|||
} |
|||
/** |
|||
* 项目名称 |
|||
**/ |
|||
public String getProjectName() { |
|||
return this.projectName; |
|||
} |
|||
/** |
|||
* 结算人数 |
|||
**/ |
|||
public Integer getUserCnt() { |
|||
return this.userCnt; |
|||
} |
|||
/** |
|||
* 相对方类型1-个人,2-企业 |
|||
**/ |
|||
public String getCpType() { |
|||
return this.cpType; |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,142 @@ |
|||
package com.xm.core.entity; |
|||
import lombok.Data; |
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.mdp.core.dao.annotation.TableIds; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import org.apache.ibatis.type.Alias; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import java.util.Date; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* @author code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
@Data |
|||
@TableName("xm_task_workload") |
|||
@ApiModel(description="工时登记表") |
|||
public class XmTaskWorkload implements java.io.Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
@TableId(type = IdType.ASSIGN_ID) |
|||
|
|||
@ApiModelProperty(notes="主键,主键",allowEmptyValue=true,example="",allowableValues="") |
|||
String id; |
|||
|
|||
|
|||
@ApiModelProperty(notes="员工编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String userid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="姓名",allowEmptyValue=true,example="",allowableValues="") |
|||
String username; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建日期",allowEmptyValue=true,example="",allowableValues="") |
|||
Date ctime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="任务编号,任务报工必填",allowEmptyValue=true,example="",allowableValues="") |
|||
String taskId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建人编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String cuserid; |
|||
|
|||
|
|||
@ApiModelProperty(notes="业务日期yyyy-MM-dd",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizDate; |
|||
|
|||
|
|||
@ApiModelProperty(notes="状态0-待确认,1-已确认,2-无效",allowEmptyValue=true,example="",allowableValues="") |
|||
String wstatus; |
|||
|
|||
|
|||
@ApiModelProperty(notes="备注",allowEmptyValue=true,example="",allowableValues="") |
|||
String remark; |
|||
|
|||
|
|||
@ApiModelProperty(notes="任务类型-关联字典taskType",allowEmptyValue=true,example="",allowableValues="") |
|||
String ttype; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结算提交时间",allowEmptyValue=true,example="",allowableValues="") |
|||
Date stime; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结算状态0-无需结算,1-待结算2-已提交3-已通过4-已结算",allowEmptyValue=true,example="",allowableValues="") |
|||
String sstatus; |
|||
|
|||
|
|||
@ApiModelProperty(notes="工时,一个task_id可多次提交,小时",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal workload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="任务剩余工时(同一天取最后日期更新到task表budget_workload中)",allowEmptyValue=true,example="",allowableValues="") |
|||
BigDecimal rworkload; |
|||
|
|||
|
|||
@ApiModelProperty(notes="创建人姓名",allowEmptyValue=true,example="",allowableValues="") |
|||
String cusername; |
|||
|
|||
|
|||
@ApiModelProperty(notes="归属项目",allowEmptyValue=true,example="",allowableValues="") |
|||
String projectId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="项目归属机构",allowEmptyValue=true,example="",allowableValues="") |
|||
String branchId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="用户归属机构",allowEmptyValue=true,example="",allowableValues="") |
|||
String ubranchId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结算单编号",allowEmptyValue=true,example="",allowableValues="") |
|||
String sbillId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="结算单明细表id",allowEmptyValue=true,example="",allowableValues="") |
|||
String detailId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="需求编号,缺陷报工、测试报工、任务报工都可以填",allowEmptyValue=true,example="",allowableValues="") |
|||
String menuId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="产品编号,能关联到的都填",allowEmptyValue=true,example="",allowableValues="") |
|||
String productId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="测试用例编号(如果是测试执行报工,必填)",allowEmptyValue=true,example="",allowableValues="") |
|||
String caseId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="测试计划编号(如果是测试执行报工,必填)",allowEmptyValue=true,example="",allowableValues="") |
|||
String planId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="缺陷编号(如果是缺陷报工,必填)",allowEmptyValue=true,example="",allowableValues="") |
|||
String bugId; |
|||
|
|||
|
|||
@ApiModelProperty(notes="报工类型1-任务,2-缺陷,3-测试用例设计,4-测试执行",allowEmptyValue=true,example="",allowableValues="") |
|||
String bizType; |
|||
|
|||
/** |
|||
*主键 |
|||
**/ |
|||
public XmTaskWorkload(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
/** |
|||
* 工时登记表 |
|||
**/ |
|||
public XmTaskWorkload() { |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmBranchStateHis; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmBranchStateHisMapper extends BaseMapper<XmBranchStateHis> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmBranchStateHisMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_branch_state_his res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmBranchState; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmBranchStateMapper extends BaseMapper<XmBranchState> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmBranchStateMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_branch_state res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmBranchTaskTypeState; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmBranchTaskTypeStateMapper extends BaseMapper<XmBranchTaskTypeState> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmBranchTaskTypeStateMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_branch_task_type_state res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmBudgetLabor; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmBudgetLaborMapper extends BaseMapper<XmBudgetLabor> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmBudgetLaborMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_budget_labor res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmBudgetNlabor; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmBudgetNlaborMapper extends BaseMapper<XmBudgetNlabor> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmBudgetNlaborMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_budget_nlabor res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmCollectLink; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmCollectLinkMapper extends BaseMapper<XmCollectLink> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmCollectLinkMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_collect_link res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmCollect; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmCollectMapper extends BaseMapper<XmCollect> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmCollectMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_collect res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmCostNlabor; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmCostNlaborMapper extends BaseMapper<XmCostNlabor> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmCostNlaborMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_cost_nlabor res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmEnvList; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmEnvListMapper extends BaseMapper<XmEnvList> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmEnvListMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_env_list res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmFunc; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmFuncMapper extends BaseMapper<XmFunc> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmFuncMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_func res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmIteration; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmIterationMapper extends BaseMapper<XmIteration> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmIterationMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_iteration res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmIterationStateHis; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmIterationStateHisMapper extends BaseMapper<XmIterationStateHis> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmIterationStateHisMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_iteration_state_his res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmIterationState; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmIterationStateMapper extends BaseMapper<XmIterationState> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmIterationStateMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_iteration_state res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmMenuComment; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmMenuCommentMapper extends BaseMapper<XmMenuComment> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmMenuCommentMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_menu_comment res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmMenuExchange; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmMenuExchangeMapper extends BaseMapper<XmMenuExchange> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmMenuExchangeMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_menu_exchange res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmMenu; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmMenuMapper extends BaseMapper<XmMenu> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmMenuMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_menu res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmMenuState; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmMenuStateMapper extends BaseMapper<XmMenuState> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmMenuStateMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_menu_state res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmMyFocus; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmMyFocusMapper extends BaseMapper<XmMyFocus> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmMyFocusMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_my_focus res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmMyFootPrint; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmMyFootPrintMapper extends BaseMapper<XmMyFootPrint> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmMyFootPrintMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_my_foot_print res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmProduct; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmProductMapper extends BaseMapper<XmProduct> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmProductMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_product res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,28 @@ |
|||
package com.xm.core.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
import com.xm.core.entity.XmProductProjectLink; |
|||
/** |
|||
* @author maimeng-mdp code-gen |
|||
* @since 2023-10-3 |
|||
*/ |
|||
public interface XmProductProjectLinkMapper extends BaseMapper<XmProductProjectLink> { |
|||
|
|||
/** |
|||
* 自定义查询,支持多表关联 |
|||
* @param page 分页条件 |
|||
* @param ew 一定要,并且必须加@Param("ew")注解 |
|||
* @param ext 如果xml中需要根据某些值进行特殊处理,可以通过这个进行传递,非必须,注解也可以不加 |
|||
* @return |
|||
*/ |
|||
List<Map<String,Object>> selectListMapByWhere(IPage page, @Param("ew") QueryWrapper ew,@Param("ext") Map<String,Object> ext); |
|||
|
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.xm.core.mapper.XmProductProjectLinkMapper"> |
|||
|
|||
<select id="selectListMapByWhere" resultType="HashMap"> |
|||
select * from xm_product_project_link res |
|||
<where> |
|||
${@com.mdp.Util@trimWhere(ew.customSqlSegment)} |
|||
<!--下面可以添加更多查询条件,正常的if 条件都是支持的--> |
|||
|
|||
</where> |
|||
<!--下面双引号内可以添加默认排序,如果前端没有上传排序,将使用引号内的排序规则--> |
|||
${@com.mdp.Util@trimOrderBy(ew.customSqlSegment,'')} |
|||
<!--下面双引号内可以添加默认分组,如果前端没有上传分组,将使用引号内的分组规则--> |
|||
${@com.mdp.Util@trimGroupBy(ew.customSqlSegment,'')} |
|||
</select> |
|||
</mapper> |
|||
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save
Reference in new issue