| | |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.example.erp.common.Constants; |
| | | import com.example.erp.common.Result; |
| | | import com.example.erp.entity.pp.FlowCard; |
| | | import com.example.erp.entity.sd.*; |
| | | import com.example.erp.entity.userInfo.Log; |
| | |
| | | } |
| | | |
| | | |
| | | public Result selectProcessCardProgressSv(Map<String, String> object) { |
| | | String orderId = object.get("orderId"); |
| | | String processId = object.get("processId"); |
| | | String orderNumber = object.get("orderNumber"); |
| | | String technologyNumber = object.get("technologyNumber"); |
| | | String process = object.get("process"); |
| | | Result result = new Result(); |
| | | //当流程卡和订单号都为空时,返回提示信息 |
| | | if (orderId == null &&processId == null){ |
| | | result.setCode(Constants.Code_600); |
| | | result.setMsg("Please enter at least one parameter for the order number and the process card."); |
| | | return result; |
| | | } |
| | | return result.success( |
| | | orderProcessDetailMapper |
| | | .selectProcessCardProgressSv( orderId, processId, orderNumber, technologyNumber, process) |
| | | ); |
| | | |
| | | |
| | | } |
| | | |
| | | } |
| | | |