diff --git a/api/src/main/java/com/wansensoft/api/depot/DepotItemController.java b/api/src/main/java/com/wansensoft/api/depot/DepotItemController.java index ed5fc6d7..5ec6315d 100644 --- a/api/src/main/java/com/wansensoft/api/depot/DepotItemController.java +++ b/api/src/main/java/com/wansensoft/api/depot/DepotItemController.java @@ -7,6 +7,7 @@ import com.wansensoft.entities.depot.DepotItemVo4WithInfoEx; import com.wansensoft.entities.material.MaterialVo4Unit; import com.wansensoft.entities.unit.Unit; +import com.wansensoft.service.role.RoleServiceImpl; import com.wansensoft.service.user.UserServiceImpl; import com.wansensoft.utils.constants.BusinessConstants; import com.wansensoft.utils.constants.ExceptionConstants; @@ -15,7 +16,6 @@ import com.wansensoft.service.depotHead.DepotHeadServiceImpl; import com.wansensoft.service.depotItem.DepotItemServiceImpl; import com.wansensoft.service.material.MaterialServiceImpl; -import com.wansensoft.service.role.RoleService; import com.wansensoft.service.systemConfig.SystemConfigService; import com.wansensoft.service.unit.UnitService; import com.wansensoft.utils.*; @@ -65,7 +65,7 @@ public class DepotItemController { private DepotServiceImpl depotServiceImpl; @Resource - private RoleService roleService; + private RoleServiceImpl roleServiceImpl; @Resource private UserServiceImpl userServiceImpl; @@ -247,15 +247,15 @@ public BaseResponseInfo getDetailList(@RequestParam("headerId") Long headerId, item.put("basicNumber", diEx.getBasicNumber()); item.put("preNumber", diEx.getOperNumber()); //原数量 item.put("finishNumber", depotItemServiceImpl.getFinishNumber(diEx.getMaterialExtendId(), diEx.getId(), diEx.getHeaderId(), unitInfo, materialUnit, linkType)); //已入库|已出库 - item.put("purchaseDecimal", roleService.parseBillPriceByLimit(diEx.getPurchaseDecimal(), billCategory, priceLimit, request)); //采购价 + item.put("purchaseDecimal", roleServiceImpl.parseBillPriceByLimit(diEx.getPurchaseDecimal(), billCategory, priceLimit, request)); //采购价 if("basic".equals(linkType)) { //正常情况显示金额,而以销定购的情况不能显示金额 - item.put("unitPrice", roleService.parseBillPriceByLimit(diEx.getUnitPrice(), billCategory, priceLimit, request)); - item.put("taxUnitPrice", roleService.parseBillPriceByLimit(diEx.getTaxUnitPrice(), billCategory, priceLimit, request)); - item.put("allPrice", roleService.parseBillPriceByLimit(diEx.getAllPrice(), billCategory, priceLimit, request)); - item.put("taxRate", roleService.parseBillPriceByLimit(diEx.getTaxRate(), billCategory, priceLimit, request)); - item.put("taxMoney", roleService.parseBillPriceByLimit(diEx.getTaxMoney(), billCategory, priceLimit, request)); - item.put("taxLastMoney", roleService.parseBillPriceByLimit(diEx.getTaxLastMoney(), billCategory, priceLimit, request)); + item.put("unitPrice", roleServiceImpl.parseBillPriceByLimit(diEx.getUnitPrice(), billCategory, priceLimit, request)); + item.put("taxUnitPrice", roleServiceImpl.parseBillPriceByLimit(diEx.getTaxUnitPrice(), billCategory, priceLimit, request)); + item.put("allPrice", roleServiceImpl.parseBillPriceByLimit(diEx.getAllPrice(), billCategory, priceLimit, request)); + item.put("taxRate", roleServiceImpl.parseBillPriceByLimit(diEx.getTaxRate(), billCategory, priceLimit, request)); + item.put("taxMoney", roleServiceImpl.parseBillPriceByLimit(diEx.getTaxMoney(), billCategory, priceLimit, request)); + item.put("taxLastMoney", roleServiceImpl.parseBillPriceByLimit(diEx.getTaxLastMoney(), billCategory, priceLimit, request)); } BigDecimal allWeight = diEx.getBasicNumber()==null||diEx.getWeight()==null?BigDecimal.ZERO:diEx.getBasicNumber().multiply(diEx.getWeight()); item.put("weight", allWeight); @@ -286,9 +286,9 @@ public BaseResponseInfo getDetailList(@RequestParam("headerId") Long headerId, if(StringUtil.isNotEmpty(isReadOnly) && "1".equals(isReadOnly)) { JSONObject footItem = new JSONObject(); footItem.put("operNumber", totalOperNumber); - footItem.put("allPrice", roleService.parseBillPriceByLimit(totalAllPrice, billCategory, priceLimit, request)); - footItem.put("taxMoney", roleService.parseBillPriceByLimit(totalTaxMoney, billCategory, priceLimit, request)); - footItem.put("taxLastMoney", roleService.parseBillPriceByLimit(totalTaxLastMoney, billCategory, priceLimit, request)); + footItem.put("allPrice", roleServiceImpl.parseBillPriceByLimit(totalAllPrice, billCategory, priceLimit, request)); + footItem.put("taxMoney", roleServiceImpl.parseBillPriceByLimit(totalTaxMoney, billCategory, priceLimit, request)); + footItem.put("taxLastMoney", roleServiceImpl.parseBillPriceByLimit(totalTaxLastMoney, billCategory, priceLimit, request)); footItem.put("weight", totalWeight); dataArray.add(footItem); } @@ -829,7 +829,7 @@ public BaseResponseInfo buyOrSalePrice(@RequestParam(value = "roleType", require BigDecimal outPrice = depotItemServiceImpl.inOrOutPrice("入库", "采购", month, roleType); BigDecimal inPrice = depotItemServiceImpl.inOrOutPrice("出库", "采购退货", month, roleType); obj.put("x", month); - obj.put("y", roleService.parseHomePriceByLimit(outPrice.subtract(inPrice), "buy", priceLimit, "***", request)); + obj.put("y", roleServiceImpl.parseHomePriceByLimit(outPrice.subtract(inPrice), "buy", priceLimit, "***", request)); buyPriceList.add(obj); } map.put("buyPriceList", buyPriceList); @@ -839,7 +839,7 @@ public BaseResponseInfo buyOrSalePrice(@RequestParam(value = "roleType", require BigDecimal outPrice = depotItemServiceImpl.inOrOutPrice("出库", "销售", month, roleType); BigDecimal inPrice = depotItemServiceImpl.inOrOutPrice("入库", "销售退货", month, roleType); obj.put("x", month); - obj.put("y", roleService.parseHomePriceByLimit(outPrice.subtract(inPrice), "sale", priceLimit, "***", request)); + obj.put("y", roleServiceImpl.parseHomePriceByLimit(outPrice.subtract(inPrice), "sale", priceLimit, "***", request)); salePriceList.add(obj); } map.put("salePriceList", salePriceList); @@ -849,7 +849,7 @@ public BaseResponseInfo buyOrSalePrice(@RequestParam(value = "roleType", require BigDecimal outPrice = depotItemServiceImpl.inOrOutRetailPrice("出库", "零售", month, roleType); BigDecimal inPrice = depotItemServiceImpl.inOrOutRetailPrice("入库", "零售退货", month, roleType); obj.put("x", month); - obj.put("y", roleService.parseHomePriceByLimit(outPrice.subtract(inPrice), "retail", priceLimit, "***", request)); + obj.put("y", roleServiceImpl.parseHomePriceByLimit(outPrice.subtract(inPrice), "retail", priceLimit, "***", request)); retailPriceList.add(obj); } map.put("retailPriceList", retailPriceList); diff --git a/api/src/main/java/com/wansensoft/api/organization/OrganizationController.java b/api/src/main/java/com/wansensoft/api/organization/OrganizationController.java index 916b787c..337c41e4 100644 --- a/api/src/main/java/com/wansensoft/api/organization/OrganizationController.java +++ b/api/src/main/java/com/wansensoft/api/organization/OrganizationController.java @@ -4,9 +4,9 @@ import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.wansensoft.entities.organization.Organization; +import com.wansensoft.service.organization.OrganizationServiceImpl; import com.wansensoft.utils.constants.ExceptionConstants; import com.wansensoft.plugins.exception.BusinessRunTimeException; -import com.wansensoft.service.organization.OrganizationService; import com.wansensoft.utils.BaseResponseInfo; import com.wansensoft.vo.TreeNode; import io.swagger.annotations.Api; @@ -28,7 +28,7 @@ public class OrganizationController { private Logger logger = LoggerFactory.getLogger(OrganizationController.class); @Resource - private OrganizationService organizationService; + private OrganizationServiceImpl organizationServiceImpl; /** * 根据id来查询机构信息 * @param id @@ -41,14 +41,14 @@ public BaseResponseInfo findById(@RequestParam("id") Long id, HttpServletRequest BaseResponseInfo res = new BaseResponseInfo(); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); try { - List dataList = organizationService.findById(id); + List dataList = organizationServiceImpl.findById(id); JSONObject outer = new JSONObject(); if (null != dataList) { for (Organization org : dataList) { outer.put("id", org.getId()); outer.put("orgAbr", org.getOrgAbr()); outer.put("parentId", org.getParentId()); - List dataParentList = organizationService.findByParentId(org.getParentId()); + List dataParentList = organizationServiceImpl.findByParentId(org.getParentId()); if(dataParentList!=null&&dataParentList.size()>0){ //父级机构名称显示简称 outer.put("orgParentName", dataParentList.get(0).getOrgAbr()); @@ -78,7 +78,7 @@ public BaseResponseInfo findById(@RequestParam("id") Long id, HttpServletRequest @ApiOperation(value = "获取机构树数据") public JSONArray getOrganizationTree(@RequestParam("id") Long id) throws Exception{ JSONArray arr=new JSONArray(); - List organizationTree= organizationService.getOrganizationTree(id); + List organizationTree= organizationServiceImpl.getOrganizationTree(id); if(organizationTree!=null&&organizationTree.size()>0){ for(TreeNode node:organizationTree){ String str=JSON.toJSONString(node); @@ -99,7 +99,7 @@ public JSONArray getOrganizationTree(@RequestParam("id") Long id) throws Excepti public Object addOrganization(@RequestParam("info") String beanJson) throws Exception { JSONObject result = ExceptionConstants.standardSuccess(); Organization org= JSON.parseObject(beanJson, Organization.class); - int i= organizationService.addOrganization(org); + int i= organizationServiceImpl.addOrganization(org); if(i<1){ throw new BusinessRunTimeException(ExceptionConstants.ORGANIZATION_ADD_FAILED_CODE, ExceptionConstants.ORGANIZATION_ADD_FAILED_MSG); @@ -117,7 +117,7 @@ public Object addOrganization(@RequestParam("info") String beanJson) throws Exce public Object editOrganization(@RequestParam("info") String beanJson) throws Exception { JSONObject result = ExceptionConstants.standardSuccess(); Organization org= JSON.parseObject(beanJson, Organization.class); - int i= organizationService.editOrganization(org); + int i= organizationServiceImpl.editOrganization(org); if(i<1){ throw new BusinessRunTimeException(ExceptionConstants.ORGANIZATION_EDIT_FAILED_CODE, ExceptionConstants.ORGANIZATION_EDIT_FAILED_MSG); diff --git a/api/src/main/java/com/wansensoft/api/role/RoleController.java b/api/src/main/java/com/wansensoft/api/role/RoleController.java index 5e8e510c..cf735e0e 100644 --- a/api/src/main/java/com/wansensoft/api/role/RoleController.java +++ b/api/src/main/java/com/wansensoft/api/role/RoleController.java @@ -3,7 +3,7 @@ import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.wansensoft.entities.role.Role; -import com.wansensoft.service.role.RoleService; +import com.wansensoft.service.role.RoleServiceImpl; import com.wansensoft.service.userBusiness.UserBusinessServiceImpl; import com.wansensoft.utils.ErpInfo; import com.wansensoft.utils.ResponseJsonUtil; @@ -26,7 +26,7 @@ public class RoleController { private Logger logger = LoggerFactory.getLogger(RoleController.class); @Resource - private RoleService roleService; + private RoleServiceImpl roleServiceImpl; @Resource private UserBusinessServiceImpl userBusinessServiceImpl; @@ -44,7 +44,7 @@ public JSONArray findUserRole(@RequestParam("UBType") String type, @RequestParam try { //获取权限信息 String ubValue = userBusinessServiceImpl.getUBValueByTypeAndKeyId(type, keyId); - List dataList = roleService.findUserRole(); + List dataList = roleServiceImpl.findUserRole(); if (null != dataList) { for (Role role : dataList) { JSONObject item = new JSONObject(); @@ -66,7 +66,7 @@ public JSONArray findUserRole(@RequestParam("UBType") String type, @RequestParam @GetMapping(value = "/allList") @ApiOperation(value = "查询全部角色列表") public List allList(HttpServletRequest request)throws Exception { - return roleService.allList(); + return roleServiceImpl.allList(); } /** @@ -82,7 +82,7 @@ public String batchSetStatus(@RequestBody JSONObject jsonObject, Boolean status = jsonObject.getBoolean("status"); String ids = jsonObject.getString("ids"); Map objectMap = new HashMap<>(); - int res = roleService.batchSetStatus(status, ids); + int res = roleServiceImpl.batchSetStatus(status, ids); if(res > 0) { return ResponseJsonUtil.returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); } else { diff --git a/api/src/main/java/com/wansensoft/api/user/UserController.java b/api/src/main/java/com/wansensoft/api/user/UserController.java index 9cda0cf7..7ad0ad9f 100644 --- a/api/src/main/java/com/wansensoft/api/user/UserController.java +++ b/api/src/main/java/com/wansensoft/api/user/UserController.java @@ -11,7 +11,7 @@ import com.wansensoft.utils.constants.ExceptionConstants; import com.wansensoft.plugins.exception.BusinessParamCheckingException; import com.wansensoft.service.redis.RedisService; -import com.wansensoft.service.role.RoleService; +import com.wansensoft.service.role.RoleServiceImpl; import com.wansensoft.service.user.UserServiceImpl; import com.wansensoft.utils.*; import com.wansensoft.vo.TreeNodeEx; @@ -40,7 +40,7 @@ public class UserController { private UserServiceImpl userServiceImpl; @Resource - private RoleService roleService; + private RoleServiceImpl roleServiceImpl; @Resource private TenantServiceImpl tenantServiceImpl; @@ -335,7 +335,7 @@ public BaseResponseInfo getCurrentPriceLimit(HttpServletRequest request)throws E BaseResponseInfo res = new BaseResponseInfo(); try { Map data = new HashMap<>(); - String priceLimit = roleService.getCurrentPriceLimit(request); + String priceLimit = roleServiceImpl.getCurrentPriceLimit(request); data.put("priceLimit", priceLimit); res.code = 200; res.data = data; diff --git a/api/src/main/resources/application.yml b/api/src/main/resources/application.yml index 6e44a4d4..f5440234 100644 --- a/api/src/main/resources/application.yml +++ b/api/src/main/resources/application.yml @@ -27,7 +27,7 @@ logging: config: classpath:logback-spring.xml mybatis-plus: - mapper-locations: classpath*:./mapper_xml/*Mapper.xml,classpath*:./mapper_xml/*MapperEx.xml + mapper-locations: classpath*:./mapper_xml/*.xml type-aliases-package: com.wansensoft.entity global-config: id-type: 0 diff --git a/dao/src/main/java/com/wansensoft/mappers/account/AccountHeadMapper.java b/dao/src/main/java/com/wansensoft/mappers/account/AccountHeadMapper.java index 503149e2..af399d28 100644 --- a/dao/src/main/java/com/wansensoft/mappers/account/AccountHeadMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/account/AccountHeadMapper.java @@ -16,7 +16,7 @@ public interface AccountHeadMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(AccountHead record); + int insertAccountHead(AccountHead record); int insertSelective(AccountHead record); diff --git a/dao/src/main/java/com/wansensoft/mappers/account/AccountItemMapper.java b/dao/src/main/java/com/wansensoft/mappers/account/AccountItemMapper.java index 99de00e2..dbae5432 100644 --- a/dao/src/main/java/com/wansensoft/mappers/account/AccountItemMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/account/AccountItemMapper.java @@ -16,7 +16,7 @@ public interface AccountItemMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(AccountItem record); + int insertAccountItem(AccountItem record); int insertSelective(AccountItem record); diff --git a/dao/src/main/java/com/wansensoft/mappers/account/AccountMapper.java b/dao/src/main/java/com/wansensoft/mappers/account/AccountMapper.java index 570f8aad..bd14f412 100644 --- a/dao/src/main/java/com/wansensoft/mappers/account/AccountMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/account/AccountMapper.java @@ -16,7 +16,7 @@ public interface AccountMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(Account record); + int insertAccount(Account record); int insertSelective(Account record); diff --git a/dao/src/main/java/com/wansensoft/mappers/depot/DepotHeadMapper.java b/dao/src/main/java/com/wansensoft/mappers/depot/DepotHeadMapper.java index f0a0ddc7..f5116cbb 100644 --- a/dao/src/main/java/com/wansensoft/mappers/depot/DepotHeadMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/depot/DepotHeadMapper.java @@ -17,7 +17,7 @@ public interface DepotHeadMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(DepotHead record); + int insertDepotHead(DepotHead record); int insertSelective(DepotHead record); diff --git a/dao/src/main/java/com/wansensoft/mappers/depot/DepotItemMapper.java b/dao/src/main/java/com/wansensoft/mappers/depot/DepotItemMapper.java index 626f085d..a28e8a48 100644 --- a/dao/src/main/java/com/wansensoft/mappers/depot/DepotItemMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/depot/DepotItemMapper.java @@ -17,7 +17,7 @@ public interface DepotItemMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(DepotItem record); + int insertDepotItem(DepotItem record); int insertSelective(DepotItem record); diff --git a/dao/src/main/java/com/wansensoft/mappers/depot/DepotMapper.java b/dao/src/main/java/com/wansensoft/mappers/depot/DepotMapper.java index 6cb211b7..db0a3150 100644 --- a/dao/src/main/java/com/wansensoft/mappers/depot/DepotMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/depot/DepotMapper.java @@ -16,7 +16,7 @@ public interface DepotMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(Depot record); + int insertDepot(Depot record); int insertSelective(Depot record); diff --git a/dao/src/main/java/com/wansensoft/mappers/function/FunctionMapper.java b/dao/src/main/java/com/wansensoft/mappers/function/FunctionMapper.java index 0eaa4b97..85599779 100644 --- a/dao/src/main/java/com/wansensoft/mappers/function/FunctionMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/function/FunctionMapper.java @@ -17,7 +17,7 @@ public interface FunctionMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(Function record); + int insertFunction(Function record); int insertSelective(Function record); diff --git a/dao/src/main/java/com/wansensoft/mappers/inOutItem/InOutItemMapper.java b/dao/src/main/java/com/wansensoft/mappers/inOutItem/InOutItemMapper.java index 54953337..5c04a94b 100644 --- a/dao/src/main/java/com/wansensoft/mappers/inOutItem/InOutItemMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/inOutItem/InOutItemMapper.java @@ -17,7 +17,7 @@ public interface InOutItemMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(InOutItem record); + int insertInOutItem(InOutItem record); int insertSelective(InOutItem record); diff --git a/dao/src/main/java/com/wansensoft/mappers/log/LogMapper.java b/dao/src/main/java/com/wansensoft/mappers/log/LogMapper.java index 0e91dc61..94f71533 100644 --- a/dao/src/main/java/com/wansensoft/mappers/log/LogMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/log/LogMapper.java @@ -17,7 +17,7 @@ public interface LogMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(Log record); + int insertLog(Log record); int insertSelective(Log record); diff --git a/dao/src/main/java/com/wansensoft/mappers/material/MaterialAttributeMapper.java b/dao/src/main/java/com/wansensoft/mappers/material/MaterialAttributeMapper.java index 1cbd8b80..28c861c1 100644 --- a/dao/src/main/java/com/wansensoft/mappers/material/MaterialAttributeMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/material/MaterialAttributeMapper.java @@ -17,7 +17,7 @@ public interface MaterialAttributeMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(MaterialAttribute record); + int insertMaterialAttribute(MaterialAttribute record); int insertSelective(MaterialAttribute record); diff --git a/dao/src/main/java/com/wansensoft/mappers/material/MaterialCategoryMapper.java b/dao/src/main/java/com/wansensoft/mappers/material/MaterialCategoryMapper.java index cb6393a8..5ea79e79 100644 --- a/dao/src/main/java/com/wansensoft/mappers/material/MaterialCategoryMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/material/MaterialCategoryMapper.java @@ -17,7 +17,7 @@ public interface MaterialCategoryMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(MaterialCategory record); + int insertMaterialCategory(MaterialCategory record); int insertSelective(MaterialCategory record); diff --git a/dao/src/main/java/com/wansensoft/mappers/material/MaterialCurrentStockMapper.java b/dao/src/main/java/com/wansensoft/mappers/material/MaterialCurrentStockMapper.java index c1d7f16f..16d26f22 100644 --- a/dao/src/main/java/com/wansensoft/mappers/material/MaterialCurrentStockMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/material/MaterialCurrentStockMapper.java @@ -17,7 +17,7 @@ public interface MaterialCurrentStockMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(MaterialExtend record); + int insertMaterialExtend(MaterialExtend record); int insertSelective(MaterialExtend record); diff --git a/dao/src/main/java/com/wansensoft/mappers/material/MaterialInitialStockMapper.java b/dao/src/main/java/com/wansensoft/mappers/material/MaterialInitialStockMapper.java index ddd8ee39..fb27e0b3 100644 --- a/dao/src/main/java/com/wansensoft/mappers/material/MaterialInitialStockMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/material/MaterialInitialStockMapper.java @@ -17,7 +17,7 @@ public interface MaterialInitialStockMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(Material record); + int insertMaterial(Material record); int insertSelective(Material record); diff --git a/dao/src/main/java/com/wansensoft/mappers/material/MaterialPropertyMapper.java b/dao/src/main/java/com/wansensoft/mappers/material/MaterialPropertyMapper.java index 9f556b41..9b04b6cb 100644 --- a/dao/src/main/java/com/wansensoft/mappers/material/MaterialPropertyMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/material/MaterialPropertyMapper.java @@ -17,7 +17,7 @@ public interface MaterialPropertyMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(MaterialProperty record); + int insertMaterialProperty(MaterialProperty record); int insertSelective(MaterialProperty record); diff --git a/dao/src/main/java/com/wansensoft/mappers/msg/MsgMapper.java b/dao/src/main/java/com/wansensoft/mappers/msg/MsgMapper.java index 81736306..8763b226 100644 --- a/dao/src/main/java/com/wansensoft/mappers/msg/MsgMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/msg/MsgMapper.java @@ -17,7 +17,7 @@ public interface MsgMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(Msg record); + int insertMsg(Msg record); int insertSelective(Msg record); diff --git a/dao/src/main/java/com/wansensoft/mappers/organization/OrgaUserRelMapper.java b/dao/src/main/java/com/wansensoft/mappers/organization/OrgaUserRelMapper.java index 6e56ac2e..f2879f1e 100644 --- a/dao/src/main/java/com/wansensoft/mappers/organization/OrgaUserRelMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/organization/OrgaUserRelMapper.java @@ -41,7 +41,7 @@ public interface OrgaUserRelMapper extends BaseMapper { * * @mbggenerated */ - int insert(OrgaUserRel record); + int insertOrgaUserRel(OrgaUserRel record); /** * This method was generated by MyBatis Generator. diff --git a/dao/src/main/java/com/wansensoft/mappers/organization/OrganizationMapper.java b/dao/src/main/java/com/wansensoft/mappers/organization/OrganizationMapper.java index fb1802eb..ecb98d05 100644 --- a/dao/src/main/java/com/wansensoft/mappers/organization/OrganizationMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/organization/OrganizationMapper.java @@ -17,7 +17,7 @@ public interface OrganizationMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(Organization record); + int insertOrganization(Organization record); int insertSelective(Organization record); diff --git a/dao/src/main/java/com/wansensoft/mappers/person/PersonMapper.java b/dao/src/main/java/com/wansensoft/mappers/person/PersonMapper.java index 7d5b7401..f57332a3 100644 --- a/dao/src/main/java/com/wansensoft/mappers/person/PersonMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/person/PersonMapper.java @@ -17,7 +17,7 @@ public interface PersonMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(Person record); + int insertPerson(Person record); int insertSelective(Person record); diff --git a/dao/src/main/java/com/wansensoft/mappers/platformConfig/PlatformConfigMapper.java b/dao/src/main/java/com/wansensoft/mappers/platformConfig/PlatformConfigMapper.java index 10231fa2..6ae06dd3 100644 --- a/dao/src/main/java/com/wansensoft/mappers/platformConfig/PlatformConfigMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/platformConfig/PlatformConfigMapper.java @@ -17,7 +17,7 @@ public interface PlatformConfigMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(PlatformConfig record); + int insertPlatformConfig(PlatformConfig record); int insertSelective(PlatformConfig record); diff --git a/dao/src/main/java/com/wansensoft/mappers/role/RoleMapper.java b/dao/src/main/java/com/wansensoft/mappers/role/RoleMapper.java index 6434f542..b94093ac 100644 --- a/dao/src/main/java/com/wansensoft/mappers/role/RoleMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/role/RoleMapper.java @@ -17,7 +17,7 @@ public interface RoleMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(Role record); + int insertRole(Role record); int insertSelective(Role record); diff --git a/dao/src/main/java/com/wansensoft/mappers/serialNumber/SerialNumberMapper.java b/dao/src/main/java/com/wansensoft/mappers/serialNumber/SerialNumberMapper.java index 1c73737e..d675bd84 100644 --- a/dao/src/main/java/com/wansensoft/mappers/serialNumber/SerialNumberMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/serialNumber/SerialNumberMapper.java @@ -17,7 +17,7 @@ public interface SerialNumberMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(SerialNumber record); + int insertSerialNumber(SerialNumber record); int insertSelective(SerialNumber record); diff --git a/dao/src/main/java/com/wansensoft/mappers/supplier/SupplierMapper.java b/dao/src/main/java/com/wansensoft/mappers/supplier/SupplierMapper.java index 18a39079..71580b39 100644 --- a/dao/src/main/java/com/wansensoft/mappers/supplier/SupplierMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/supplier/SupplierMapper.java @@ -17,7 +17,7 @@ public interface SupplierMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(Supplier record); + int insertSupplier(Supplier record); int insertSelective(Supplier record); diff --git a/dao/src/main/java/com/wansensoft/mappers/system/SystemConfigMapper.java b/dao/src/main/java/com/wansensoft/mappers/system/SystemConfigMapper.java index 59105b61..d3ce460c 100644 --- a/dao/src/main/java/com/wansensoft/mappers/system/SystemConfigMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/system/SystemConfigMapper.java @@ -17,7 +17,7 @@ public interface SystemConfigMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(SystemConfig record); + int insertSystemConfig(SystemConfig record); int insertSelective(SystemConfig record); diff --git a/dao/src/main/java/com/wansensoft/mappers/tenant/TenantMapper.java b/dao/src/main/java/com/wansensoft/mappers/tenant/TenantMapper.java index e172de91..f8c5d720 100644 --- a/dao/src/main/java/com/wansensoft/mappers/tenant/TenantMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/tenant/TenantMapper.java @@ -17,7 +17,7 @@ public interface TenantMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(Tenant record); + int insertTenant(Tenant record); int insertSelective(Tenant record); diff --git a/dao/src/main/java/com/wansensoft/mappers/unit/UnitMapper.java b/dao/src/main/java/com/wansensoft/mappers/unit/UnitMapper.java index fa9cdeee..ef148067 100644 --- a/dao/src/main/java/com/wansensoft/mappers/unit/UnitMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/unit/UnitMapper.java @@ -17,7 +17,7 @@ public interface UnitMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(Unit record); + int insertUnit(Unit record); int insertSelective(Unit record); diff --git a/dao/src/main/java/com/wansensoft/mappers/user/UserBusinessMapper.java b/dao/src/main/java/com/wansensoft/mappers/user/UserBusinessMapper.java index 301de8c8..38040379 100644 --- a/dao/src/main/java/com/wansensoft/mappers/user/UserBusinessMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/user/UserBusinessMapper.java @@ -17,7 +17,7 @@ public interface UserBusinessMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(UserBusiness record); + int insertUserBusiness(UserBusiness record); int insertSelective(UserBusiness record); diff --git a/dao/src/main/java/com/wansensoft/mappers/user/UserMapper.java b/dao/src/main/java/com/wansensoft/mappers/user/UserMapper.java index de1035e2..7ea2695f 100644 --- a/dao/src/main/java/com/wansensoft/mappers/user/UserMapper.java +++ b/dao/src/main/java/com/wansensoft/mappers/user/UserMapper.java @@ -17,7 +17,7 @@ public interface UserMapper extends BaseMapper { int deleteByPrimaryKey(Long id); - int insert(User record); + int insertUser(User record); int insertSelective(User record); diff --git a/dao/src/main/resources/mapper_xml/AccountHeadMapper.xml b/dao/src/main/resources/mapper_xml/AccountHeadMapper.xml index 171032d8..e3d3fb4e 100644 --- a/dao/src/main/resources/mapper_xml/AccountHeadMapper.xml +++ b/dao/src/main/resources/mapper_xml/AccountHeadMapper.xml @@ -112,7 +112,7 @@ - + insert into jsh_account_head (id, type, organ_id, hands_person_id, creator, change_amount, discount_money, total_price, account_id, diff --git a/dao/src/main/resources/mapper_xml/AccountItemMapper.xml b/dao/src/main/resources/mapper_xml/AccountItemMapper.xml index 29c58347..d6b37fc2 100644 --- a/dao/src/main/resources/mapper_xml/AccountItemMapper.xml +++ b/dao/src/main/resources/mapper_xml/AccountItemMapper.xml @@ -106,7 +106,7 @@ - + insert into jsh_account_item (id, header_id, account_id, in_out_item_id, bill_id, need_debt, finish_debt, each_amount, remark, diff --git a/dao/src/main/resources/mapper_xml/AccountMapper.xml b/dao/src/main/resources/mapper_xml/AccountMapper.xml index a14bfff4..2d221776 100644 --- a/dao/src/main/resources/mapper_xml/AccountMapper.xml +++ b/dao/src/main/resources/mapper_xml/AccountMapper.xml @@ -106,7 +106,7 @@ - + insert into jsh_account (id, name, serial_no, initial_amount, current_amount, remark, enabled, sort, is_default, tenant_id, diff --git a/dao/src/main/resources/mapper_xml/DepotHeadMapper.xml b/dao/src/main/resources/mapper_xml/DepotHeadMapper.xml index 97844f75..9e891a50 100644 --- a/dao/src/main/resources/mapper_xml/DepotHeadMapper.xml +++ b/dao/src/main/resources/mapper_xml/DepotHeadMapper.xml @@ -129,7 +129,7 @@ - + insert into jsh_depot_head (id, type, sub_type, default_number, number, create_time, oper_time, organ_id, creator, diff --git a/dao/src/main/resources/mapper_xml/DepotItemMapper.xml b/dao/src/main/resources/mapper_xml/DepotItemMapper.xml index ea470d1d..0235862f 100644 --- a/dao/src/main/resources/mapper_xml/DepotItemMapper.xml +++ b/dao/src/main/resources/mapper_xml/DepotItemMapper.xml @@ -122,7 +122,7 @@ - + insert into jsh_depot_item (id, header_id, material_id, material_extend_id, material_unit, sku, oper_number, basic_number, unit_price, diff --git a/dao/src/main/resources/mapper_xml/DepotMapper.xml b/dao/src/main/resources/mapper_xml/DepotMapper.xml index 628f789d..d3ef1bec 100644 --- a/dao/src/main/resources/mapper_xml/DepotMapper.xml +++ b/dao/src/main/resources/mapper_xml/DepotMapper.xml @@ -108,7 +108,7 @@ - + insert into jsh_depot (id, name, address, warehousing, truckage, type, sort, remark, principal, diff --git a/dao/src/main/resources/mapper_xml/FunctionMapper.xml b/dao/src/main/resources/mapper_xml/FunctionMapper.xml index eeb00300..33632722 100644 --- a/dao/src/main/resources/mapper_xml/FunctionMapper.xml +++ b/dao/src/main/resources/mapper_xml/FunctionMapper.xml @@ -108,7 +108,7 @@ - + insert into jsh_function (id, number, name, parent_number, url, component, state, sort, enabled, type, diff --git a/dao/src/main/resources/mapper_xml/InOutItemMapper.xml b/dao/src/main/resources/mapper_xml/InOutItemMapper.xml index e9000013..0be02251 100644 --- a/dao/src/main/resources/mapper_xml/InOutItemMapper.xml +++ b/dao/src/main/resources/mapper_xml/InOutItemMapper.xml @@ -102,7 +102,7 @@ - + insert into jsh_in_out_item (id, name, type, remark, enabled, sort, tenant_id, delete_flag) diff --git a/dao/src/main/resources/mapper_xml/LogMapper.xml b/dao/src/main/resources/mapper_xml/LogMapper.xml index 3d53c494..c56dea11 100644 --- a/dao/src/main/resources/mapper_xml/LogMapper.xml +++ b/dao/src/main/resources/mapper_xml/LogMapper.xml @@ -102,7 +102,7 @@ - + insert into jsh_log (id, user_id, operation, client_ip, create_time, status, content, tenant_id) diff --git a/dao/src/main/resources/mapper_xml/MaterialAttributeMapper.xml b/dao/src/main/resources/mapper_xml/MaterialAttributeMapper.xml index 95ac380a..21cb35b9 100644 --- a/dao/src/main/resources/mapper_xml/MaterialAttributeMapper.xml +++ b/dao/src/main/resources/mapper_xml/MaterialAttributeMapper.xml @@ -99,7 +99,7 @@ - + insert into jsh_material_attribute (id, attribute_name, attribute_value, tenant_id, delete_flag) values (#{id,jdbcType=BIGINT}, #{attributeName,jdbcType=VARCHAR}, #{attributeValue,jdbcType=VARCHAR}, diff --git a/dao/src/main/resources/mapper_xml/MaterialCategoryMapper.xml b/dao/src/main/resources/mapper_xml/MaterialCategoryMapper.xml index 4d42d12f..3145a378 100644 --- a/dao/src/main/resources/mapper_xml/MaterialCategoryMapper.xml +++ b/dao/src/main/resources/mapper_xml/MaterialCategoryMapper.xml @@ -106,7 +106,7 @@ - + insert into jsh_material_category (id, name, category_level, parent_id, sort, serial_no, remark, create_time, update_time, diff --git a/dao/src/main/resources/mapper_xml/MaterialCurrentStockMapper.xml b/dao/src/main/resources/mapper_xml/MaterialCurrentStockMapper.xml index bce5b966..9beb4761 100644 --- a/dao/src/main/resources/mapper_xml/MaterialCurrentStockMapper.xml +++ b/dao/src/main/resources/mapper_xml/MaterialCurrentStockMapper.xml @@ -100,7 +100,7 @@ - + insert into jsh_material_current_stock (id, material_id, depot_id, current_number, tenant_id, delete_flag ) diff --git a/dao/src/main/resources/mapper_xml/MaterialExtendMapper.xml b/dao/src/main/resources/mapper_xml/MaterialExtendMapper.xml index 90729d04..ce83d9f7 100644 --- a/dao/src/main/resources/mapper_xml/MaterialExtendMapper.xml +++ b/dao/src/main/resources/mapper_xml/MaterialExtendMapper.xml @@ -112,7 +112,7 @@ - + insert into jsh_material_extend (id, material_id, bar_code, commodity_unit, sku, purchase_decimal, commodity_decimal, wholesale_decimal, low_decimal, diff --git a/dao/src/main/resources/mapper_xml/MaterialInitialStockMapper.xml b/dao/src/main/resources/mapper_xml/MaterialInitialStockMapper.xml index 8f7f98df..be7fe7ce 100644 --- a/dao/src/main/resources/mapper_xml/MaterialInitialStockMapper.xml +++ b/dao/src/main/resources/mapper_xml/MaterialInitialStockMapper.xml @@ -102,7 +102,7 @@ - + insert into jsh_material_initial_stock (id, material_id, depot_id, number, low_safe_stock, high_safe_stock, tenant_id, delete_flag) diff --git a/dao/src/main/resources/mapper_xml/MaterialMapper.xml b/dao/src/main/resources/mapper_xml/MaterialMapper.xml index e9d931ce..f4f91d40 100644 --- a/dao/src/main/resources/mapper_xml/MaterialMapper.xml +++ b/dao/src/main/resources/mapper_xml/MaterialMapper.xml @@ -118,7 +118,7 @@ - + insert into jsh_material (id, category_id, name, mfrs, model, standard, color, unit, remark, diff --git a/dao/src/main/resources/mapper_xml/MaterialPropertyMapper.xml b/dao/src/main/resources/mapper_xml/MaterialPropertyMapper.xml index 9d2bc776..ff5d048c 100644 --- a/dao/src/main/resources/mapper_xml/MaterialPropertyMapper.xml +++ b/dao/src/main/resources/mapper_xml/MaterialPropertyMapper.xml @@ -100,7 +100,7 @@ - + insert into jsh_material_property (id, native_name, enabled, sort, another_name, delete_flag ) diff --git a/dao/src/main/resources/mapper_xml/MsgMapper.xml b/dao/src/main/resources/mapper_xml/MsgMapper.xml index 02869101..92b22f86 100644 --- a/dao/src/main/resources/mapper_xml/MsgMapper.xml +++ b/dao/src/main/resources/mapper_xml/MsgMapper.xml @@ -103,7 +103,7 @@ - + insert into jsh_msg (id, msg_title, msg_content, create_time, type, user_id, status, tenant_id, delete_Flag diff --git a/dao/src/main/resources/mapper_xml/OrgaUserRelMapper.xml b/dao/src/main/resources/mapper_xml/OrgaUserRelMapper.xml index 9a1a17f4..327b49e1 100644 --- a/dao/src/main/resources/mapper_xml/OrgaUserRelMapper.xml +++ b/dao/src/main/resources/mapper_xml/OrgaUserRelMapper.xml @@ -137,7 +137,7 @@ - +