修改bug

master
wangwei 2 years ago
parent a3a8614942
commit 7daffebbe5

@ -74,6 +74,8 @@ public class SupCompanyController {
AuthRoleAdminService authRoleAdminService; AuthRoleAdminService authRoleAdminService;
@AuthRuleAnnotation("") @AuthRuleAnnotation("")
@GetMapping("/api/pur/getSupComapnys") @GetMapping("/api/pur/getSupComapnys")
public BaseResponse getSupComapnys(FilterSupCompanyRequest companyRequest) { public BaseResponse getSupComapnys(FilterSupCompanyRequest companyRequest) {

@ -11,7 +11,7 @@
AND name LIKE concat('%',#{name},'%') AND name LIKE concat('%',#{name},'%')
</if> </if>
<if test="code != '' and code != null"> <if test="code != '' and code != null">
AND code LIKE concat('%',#{code},'%') AND code = #{code}
</if> </if>
<if test="sptm != '' and sptm != null"> <if test="sptm != '' and sptm != null">
AND sptm LIKE concat('%',#{sptm},'%') AND sptm LIKE concat('%',#{sptm},'%')

Loading…
Cancel
Save