| | |
| | | */ |
| | | @Log(title = "供应商资质核查-核查", businessType = BusinessType.UPDATE) |
| | | @ApiOperation(value = "供应商资质核查") |
| | | @GetMapping(value = "/supplierVerify") |
| | | @PostMapping(value = "/supplierVerify") |
| | | public R<String> supplierVerify(@RequestBody TCrmSupplierVerifyDTO dto) { |
| | | TCrmSupplierVerify crmSupplierVerify = crmSupplierVerifyService.getById(dto.getId()); |
| | | if (crmSupplierVerify == null) { |
| | |
| | | */ |
| | | @Log(title = "供应商资质核查-批量核查", businessType = BusinessType.UPDATE) |
| | | @ApiOperation(value = "供应商资质批量核查") |
| | | @GetMapping(value = "/supplierVerifyBatch") |
| | | @PostMapping(value = "/supplierVerifyBatch") |
| | | public R<String> supplierVerifyBatch(@RequestBody TCrmSupplierVerifyDTO dto) { |
| | | if(CollectionUtils.isEmpty(dto.getIds())){ |
| | | return R.fail("请选择要核查的供应商资质"); |
| | |
| | | private String phone; |
| | | |
| | | @ApiModelProperty(value = "状态 1=使用中 2=冻结") |
| | | private Integer status; |
| | | private Integer supplierStatus; |
| | | |
| | | @ApiModelProperty(value = "备注") |
| | | private String remarks; |
| | |
| | | </sql> |
| | | <select id="pageList" resultType="com.ruoyi.system.vo.TCrmSupplierVerifyVO"> |
| | | SELECT tcsv.id, tcsv.supplier_id, tcsv.status, tcsv.verify_remark, tcsv.generate_time, tcsv.verify_time, tcsv.operation_name, tcsv.operation_time, |
| | | tcs.supplier_name, tcs.supplier_contact, tcs.phone, tcs.remarks,tcs.status |
| | | tcs.supplier_name, tcs.supplier_contact, tcs.phone, tcs.remarks,tcs.status AS supplierStatus |
| | | FROM t_crm_supplier_verify tcsv |
| | | LEFT JOIN t_crm_supplier tcs ON tcsv.supplier_id = tcs.id |
| | | <where> |