Commit 6813089e by wangnb

代码调整--think.wang

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@28420 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 9424943e
......@@ -2647,7 +2647,7 @@ public class OrderServiceImpl implements IOrderService {
SysServiceItem item = serviceItemMapper.selectByServiceCode(serviceCode);
// 如当前技工该服务项目未定价,则提示“无法指派,该技工的服务项目尚未定价。”
// 包活干V2.0.0只针对安装单类型服务项目
if(item.getType() == 1){
if(item.getType() == BizConstants.SERVICE_ITEM_TYPE_INSTALL){
this.validateUserServiceFee(terminalType, userId, Constants.USER_TYPE_MECHANIC, serviceCode);
}
//校验指派技工是否是同一个技工
......@@ -3083,7 +3083,7 @@ public class OrderServiceImpl implements IOrderService {
// 如果服务商开启了对账单才需要校验报价,否则不需要校验
// 包活干V2.0.0只针对安装单类型服务项目
if (manager.getGenerateCheckSheet() == 1 && item.getType() == 1) {
if (manager.getGenerateCheckSheet() == 1 && item.getType() == BizConstants.SERVICE_ITEM_TYPE_INSTALL) {
//如当前服务商该服务项目未定价,则提示“无法指派,该服务商的服务项目尚未定价。”
String serviceCode = savedOrder.getServiceCode();
this.validateUserServiceFee(terminalType, merchantId, Constants.USER_TYPE_SP, serviceCode);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!