forked from integrated_whb/integrated_whb
BUG优化
parent
462de67f21
commit
17e9aa562d
|
@ -178,6 +178,11 @@ public class AssignedManageController extends BaseController {
|
||||||
pd = this.getPageData();
|
pd = this.getPageData();
|
||||||
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
||||||
pd = assignedManageService.findById(pd);
|
pd = assignedManageService.findById(pd);
|
||||||
|
if (StringUtils.equals(pd.getString("TYPE"), "2")) {
|
||||||
|
pd.put("ENGINE_NUMBER", "--");
|
||||||
|
pd.put("POWER_TYPE", "--");
|
||||||
|
pd.put("EMISSION_STANDARD", "--");
|
||||||
|
}
|
||||||
PageData pd2 = new PageData();
|
PageData pd2 = new PageData();
|
||||||
pd2.put("CORPINFO_ID", pd.getString("CORPINFO_ID"));
|
pd2.put("CORPINFO_ID", pd.getString("CORPINFO_ID"));
|
||||||
pd2.put("ID", pd.get("RAW_PLATE_NUMBER"));
|
pd2.put("ID", pd.get("RAW_PLATE_NUMBER"));
|
||||||
|
|
|
@ -13,6 +13,7 @@ import com.zcloud.service.system.ImgFilesService;
|
||||||
import com.zcloud.service.taxationManage.TaxationManageService;
|
import com.zcloud.service.taxationManage.TaxationManageService;
|
||||||
import com.zcloud.util.*;
|
import com.zcloud.util.*;
|
||||||
import org.apache.commons.io.FileUtils;
|
import org.apache.commons.io.FileUtils;
|
||||||
|
import org.apache.commons.lang.ObjectUtils;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
import org.apache.shiro.util.CollectionUtils;
|
import org.apache.shiro.util.CollectionUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
@ -100,6 +101,7 @@ public class FreighttTrailerController extends BaseController {
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
PageData pd = new PageData();
|
PageData pd = new PageData();
|
||||||
pd = this.getPageData();
|
pd = this.getPageData();
|
||||||
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
||||||
if(Tools.notEmpty(pd.getString("FREIGHTTRAILER_ID"))) {
|
if(Tools.notEmpty(pd.getString("FREIGHTTRAILER_ID"))) {
|
||||||
PageData findPageData = freightTrailerService.findById(pd);
|
PageData findPageData = freightTrailerService.findById(pd);
|
||||||
PageData scrapAddData = new PageData();
|
PageData scrapAddData = new PageData();
|
||||||
|
@ -128,6 +130,7 @@ public class FreighttTrailerController extends BaseController {
|
||||||
pd.put("DELETEOR", Jurisdiction.getUSER_ID()); //删除人id
|
pd.put("DELETEOR", Jurisdiction.getUSER_ID()); //删除人id
|
||||||
pd.put("DELETEORNAME", Jurisdiction.getName()); //删除人
|
pd.put("DELETEORNAME", Jurisdiction.getName()); //删除人
|
||||||
pd.put("DELETTIME", DateUtil.date2Str(new Date())); //删除时间
|
pd.put("DELETTIME", DateUtil.date2Str(new Date())); //删除时间
|
||||||
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
||||||
freightTrailerService.delete(pd);
|
freightTrailerService.delete(pd);
|
||||||
map.put("result", errInfo); //返回结果
|
map.put("result", errInfo); //返回结果
|
||||||
return map;
|
return map;
|
||||||
|
@ -151,7 +154,7 @@ public class FreighttTrailerController extends BaseController {
|
||||||
pd.put("OPERATOR", Jurisdiction.getUSER_ID()); //修改人id
|
pd.put("OPERATOR", Jurisdiction.getUSER_ID()); //修改人id
|
||||||
pd.put("OPERATORNAME", Jurisdiction.getName()); //修改人
|
pd.put("OPERATORNAME", Jurisdiction.getName()); //修改人
|
||||||
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
|
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
|
||||||
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
||||||
PageData freightTrailer = freightTrailerService.findById(pd);
|
PageData freightTrailer = freightTrailerService.findById(pd);
|
||||||
if(StringUtils.equals(freightTrailer.getString("ISSCRAP"), "1")) {
|
if(StringUtils.equals(freightTrailer.getString("ISSCRAP"), "1")) {
|
||||||
pd.put("ISSCRAP", "1");
|
pd.put("ISSCRAP", "1");
|
||||||
|
@ -163,20 +166,31 @@ public class FreighttTrailerController extends BaseController {
|
||||||
}else{
|
}else{
|
||||||
pd.put("ISASSIGNED", "0");
|
pd.put("ISASSIGNED", "0");
|
||||||
}
|
}
|
||||||
List<PageData> taxationList = taxationManageService.taxationList(pd.getString("CORPINFO_ID")); // 更新车船税数据
|
PageData trailerInfo = taxationManageService.findByTrailerId(pd);
|
||||||
List<PageData> assignedList = assignedManageService.assignedList(pd.getString("CORPINFO_ID")); // 更新过户数据
|
if(!Tools.isEmpty(trailerInfo)) {
|
||||||
for (PageData taxation : taxationList) {
|
trailerInfo.put("PLATE_NUMBER",pd.getString("PLATE_NUMBER"));
|
||||||
if(taxation.get("PLATE_NUMBER").equals(freightTrailer.get("PLATE_NUMBER"))) {
|
trailerInfo.put("FRAMES_NUMBER", pd.getString("VIN"));
|
||||||
taxation.put("PLATE_NUMBER", pd.get("PLATE_NUMBER"));
|
trailerInfo.put("VEHICLE_TYPE", pd.getString("TRAILER_TYPE"));
|
||||||
taxationManageService.edit(taxation);
|
trailerInfo.put("VEHICLEOWNER", pd.getString("CAR_OWNERS"));
|
||||||
}
|
trailerInfo.put("CONTACT_NUMBER", pd.getString("CONTACT_PHONE"));
|
||||||
|
trailerInfo.put("FIRSTSHOW_DATE", pd.getString("INITIAL_REGISTRATION_DATE"));
|
||||||
|
taxationManageService.edit(trailerInfo);
|
||||||
}
|
}
|
||||||
for (PageData assigned : assignedList) {
|
|
||||||
if(assigned.get("RAW_PLATE_NUMBER").equals(freightTrailer.get("PLATE_NUMBER"))) {
|
// 挂车 处理 更新 过户信息
|
||||||
assigned.put("RAW_PLATE_NUMBER", pd.get("PLATE_NUMBER"));
|
PageData vehicleInfo = new PageData();
|
||||||
assigned.put("RAW_OWNERS", pd.get("CAR_OWNERS"));
|
vehicleInfo.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
||||||
assignedManageService.edit(assigned);
|
vehicleInfo.put("ID", pd.getString("FREIGHTTRAILER_ID"));
|
||||||
}
|
PageData trailerAssignedInfo = assignedManageService.findByRawVehicleId(vehicleInfo);
|
||||||
|
if (!Tools.isEmpty(trailerAssignedInfo)) {
|
||||||
|
trailerAssignedInfo.put("FRAMES_NUMBER", pd.getString("VIN"));
|
||||||
|
trailerAssignedInfo.put("VEHICLE_BRAND", pd.getString("TRAILER_BRAND"));
|
||||||
|
trailerAssignedInfo.put("VEHICLE_MODEL", pd.getString("TRAILER_MODEL"));
|
||||||
|
trailerAssignedInfo.put("PLATE_NUMBER", pd.getString("PLATE_NUMBER"));
|
||||||
|
trailerAssignedInfo.put("RAW_OWNERS", pd.getString("CAR_OWNERS"));
|
||||||
|
trailerAssignedInfo.put("RAW_CONTACT_NUMBER", pd.getString("CONTACT_PHONE"));
|
||||||
|
trailerAssignedInfo.put("RAW_OPERATION_CERTIFICATE", pd.getString("OPER_CERTIFICATE_NUM"));
|
||||||
|
assignedManageService.edit(trailerAssignedInfo);
|
||||||
}
|
}
|
||||||
freightTrailerService.edit(pd);
|
freightTrailerService.edit(pd);
|
||||||
map.put("pd", pd);
|
map.put("pd", pd);
|
||||||
|
@ -395,6 +409,7 @@ public class FreighttTrailerController extends BaseController {
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
PageData pd = new PageData();
|
PageData pd = new PageData();
|
||||||
pd = this.getPageData();
|
pd = this.getPageData();
|
||||||
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
||||||
pd = freightTrailerService.findById(pd); //根据ID读取
|
pd = freightTrailerService.findById(pd); //根据ID读取
|
||||||
|
|
||||||
pd.put("FOREIGN_KEY", pd.getString("FREIGHTTRAILER_ID"));
|
pd.put("FOREIGN_KEY", pd.getString("FREIGHTTRAILER_ID"));
|
||||||
|
|
|
@ -42,10 +42,10 @@ public class OperatingVehiclesController extends BaseController {
|
||||||
private ScrapManageService scrapManageService;
|
private ScrapManageService scrapManageService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private AssignedManageService assignedManageService;
|
private DepartmentService departmentService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private DepartmentService departmentService;
|
private AssignedManageService assignedManageService;
|
||||||
|
|
||||||
/**新增
|
/**新增
|
||||||
* @param
|
* @param
|
||||||
|
@ -130,16 +130,24 @@ public class OperatingVehiclesController extends BaseController {
|
||||||
pd.put("OPERATOR", Jurisdiction.getCORPINFO_ID());
|
pd.put("OPERATOR", Jurisdiction.getCORPINFO_ID());
|
||||||
pd.put("OPERATORNAME", Jurisdiction.getName());
|
pd.put("OPERATORNAME", Jurisdiction.getName());
|
||||||
pd.put("OPERATTIME", DateUtil.date2Str(new Date()));
|
pd.put("OPERATTIME", DateUtil.date2Str(new Date()));
|
||||||
/*PageData operation = operatingVehiclesService.findById(pd);
|
|
||||||
List<PageData> assignedList = assignedManageService.assignedList(pd.getString("CORPINFO_ID"));
|
|
||||||
for (PageData assigned : assignedList) {
|
|
||||||
if(operation.get("PLATE_NUMBER").equals(assigned.get("RAW_PLATE_NUMBER"))) {
|
|
||||||
assigned.put("RAW_PLATE_NUMBER", pd.get("PLATE_NUMBER"));
|
|
||||||
assigned.put("RAW_OWNERS", pd.get("VEHICLEOWNER"));
|
|
||||||
assignedManageService.edit(assigned);
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
operatingVehiclesService.edit(pd);
|
operatingVehiclesService.edit(pd);
|
||||||
|
PageData pageData = new PageData();
|
||||||
|
pageData.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
||||||
|
pageData.put("ID",pd.getString("OPERATING_ID"));
|
||||||
|
PageData vehicleAssignedInfo = assignedManageService.findByRawVehicleId(pageData);
|
||||||
|
if (!Tools.isEmpty(vehicleAssignedInfo)) {
|
||||||
|
vehicleAssignedInfo.put("FRAMES_NUMBER", pd.getString("FRAMES_NUMBER"));
|
||||||
|
vehicleAssignedInfo.put("VEHICLE_BRAND", pd.getString("VEHICLE_BRAND"));
|
||||||
|
vehicleAssignedInfo.put("VEHICLE_MODEL", pd.getString("VEHICLE_MODEL"));
|
||||||
|
vehicleAssignedInfo.put("ENGINE_NUMBER", pd.getString("ENGINE_NUMBER"));
|
||||||
|
vehicleAssignedInfo.put("POWER_TYPE", pd.getString("FUEL_TYPE"));
|
||||||
|
vehicleAssignedInfo.put("EMISSION_STANDARD", pd.getString("EMISSION_STANDARD"));
|
||||||
|
vehicleAssignedInfo.put("PLATE_NUMBER", pd.getString("PLATE_NUMBER"));
|
||||||
|
vehicleAssignedInfo.put("RAW_OWNERS", pd.getString("VEHICLEOWNER"));
|
||||||
|
vehicleAssignedInfo.put("RAW_CONTACT_NUMBER", pd.getString("CONTACT_NUMBER"));
|
||||||
|
vehicleAssignedInfo.put("RAW_OPERATION_CERTIFICATE", pd.getString("OPERATING_CERTIFICATE"));
|
||||||
|
assignedManageService.edit(vehicleAssignedInfo);
|
||||||
|
}
|
||||||
map.put("pd", pd);
|
map.put("pd", pd);
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
return map;
|
return map;
|
||||||
|
|
|
@ -46,9 +46,9 @@ public class SafetyInvestmentUseController extends BaseController {
|
||||||
PageData pd = new PageData();
|
PageData pd = new PageData();
|
||||||
pd = this.getPageData();
|
pd = this.getPageData();
|
||||||
pd.put("SAFETYINVESTMENTUSE_ID", this.get32UUID()); //主键
|
pd.put("SAFETYINVESTMENTUSE_ID", this.get32UUID()); //主键
|
||||||
pd.put("CREATOR", Jurisdiction.getUsername()); //添加人
|
pd.put("CREATOR", Jurisdiction.getName()); //添加人
|
||||||
pd.put("CREATTIME", DateUtil.date2Str(new Date())); //添加时间
|
pd.put("CREATTIME", DateUtil.date2Str(new Date())); //添加时间
|
||||||
pd.put("OPERATOR", Jurisdiction.getUsername()); //修改人
|
pd.put("OPERATOR", Jurisdiction.getName()); //修改人
|
||||||
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
|
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
|
||||||
pd.put("ISDELETE", "0"); //是否删除 1-是 0-否
|
pd.put("ISDELETE", "0"); //是否删除 1-是 0-否
|
||||||
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); //企业ID
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); //企业ID
|
||||||
|
@ -134,6 +134,7 @@ public class SafetyInvestmentUseController extends BaseController {
|
||||||
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); //企业ID
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); //企业ID
|
||||||
List<PageData> varList = safetyinvestmentuseService.listAll(pd); //列出SafetyInvestmentUse列表
|
List<PageData> varList = safetyinvestmentuseService.listAll(pd); //列出SafetyInvestmentUse列表
|
||||||
|
|
||||||
|
|
||||||
// 计算预提额合计
|
// 计算预提额合计
|
||||||
Double drawingsTotal = varList.stream().
|
Double drawingsTotal = varList.stream().
|
||||||
filter(data -> StringUtils.equals(data.getString("USE_TYPE"), "1"))
|
filter(data -> StringUtils.equals(data.getString("USE_TYPE"), "1"))
|
||||||
|
|
|
@ -203,6 +203,9 @@ public class ScrapManageController extends BaseController {
|
||||||
}else {
|
}else {
|
||||||
varList = operationList;
|
varList = operationList;
|
||||||
}
|
}
|
||||||
|
varList.forEach(data -> {
|
||||||
|
data.put("ID",data.getString("OPERATING_ID"));
|
||||||
|
});
|
||||||
map.put("varList", varList);
|
map.put("varList", varList);
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
return map;
|
return map;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package com.zcloud.controller.taxationManage;
|
package com.zcloud.controller.taxationManage;
|
||||||
|
|
||||||
|
import cn.hutool.core.util.ObjectUtil;
|
||||||
import com.alibaba.excel.util.DateUtils;
|
import com.alibaba.excel.util.DateUtils;
|
||||||
import com.zcloud.controller.base.BaseController;
|
import com.zcloud.controller.base.BaseController;
|
||||||
import com.zcloud.entity.Page;
|
import com.zcloud.entity.Page;
|
||||||
|
@ -10,11 +11,11 @@ import com.zcloud.service.freighttrailer.FreightTrailerService;
|
||||||
import com.zcloud.service.system.DictionariesService;
|
import com.zcloud.service.system.DictionariesService;
|
||||||
import com.zcloud.service.taxationManage.TaxationManageService;
|
import com.zcloud.service.taxationManage.TaxationManageService;
|
||||||
import com.zcloud.util.*;
|
import com.zcloud.util.*;
|
||||||
import org.apache.commons.lang3.ObjectUtils;
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.shiro.util.CollectionUtils;
|
import org.apache.shiro.util.CollectionUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.util.ObjectUtils;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.springframework.web.bind.annotation.ResponseBody;
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
|
|
@ -37,4 +37,6 @@ public interface AssignedManageMapper {
|
||||||
List<PageData> operationvehicleList(String corpId);
|
List<PageData> operationvehicleList(String corpId);
|
||||||
|
|
||||||
List<PageData> assignedList(String corpId);
|
List<PageData> assignedList(String corpId);
|
||||||
|
|
||||||
|
PageData findByRawVehicleId(PageData pd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,4 +35,6 @@ public interface TaxationManageMapper {
|
||||||
List<PageData> datalistPage(Page page);
|
List<PageData> datalistPage(Page page);
|
||||||
|
|
||||||
List<PageData> taxationList(String corpId);
|
List<PageData> taxationList(String corpId);
|
||||||
|
|
||||||
|
PageData findByTrailerId(PageData pd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,4 +37,6 @@ public interface AssignedManageService {
|
||||||
List<PageData> operationVehicleList(String corpId);
|
List<PageData> operationVehicleList(String corpId);
|
||||||
|
|
||||||
List<PageData> assignedList(String corpId);
|
List<PageData> assignedList(String corpId);
|
||||||
|
|
||||||
|
PageData findByRawVehicleId(PageData pd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,4 +53,9 @@ public class AssignedManageServiceImpl implements AssignedManageService {
|
||||||
public List<PageData> assignedList(String corpId) {
|
public List<PageData> assignedList(String corpId) {
|
||||||
return assignedManageMapper.assignedList(corpId);
|
return assignedManageMapper.assignedList(corpId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PageData findByRawVehicleId(PageData pd) {
|
||||||
|
return assignedManageMapper.findByRawVehicleId(pd);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,4 +34,6 @@ public interface TaxationManageService {
|
||||||
public List<PageData> list(Page page);
|
public List<PageData> list(Page page);
|
||||||
|
|
||||||
public List<PageData> taxationList(String corpId) throws Exception;
|
public List<PageData> taxationList(String corpId) throws Exception;
|
||||||
|
|
||||||
|
PageData findByTrailerId(PageData pd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,4 +48,9 @@ public class TaxationManageServiceImpl implements TaxationManageService {
|
||||||
public List<PageData> taxationList(String corpId) throws Exception {
|
public List<PageData> taxationList(String corpId) throws Exception {
|
||||||
return taxationManageMapper.taxationList(corpId);
|
return taxationManageMapper.taxationList(corpId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PageData findByTrailerId(PageData pd) {
|
||||||
|
return taxationManageMapper.findByTrailerId(pd);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -237,9 +237,11 @@
|
||||||
<!-- 通过ID获取数据 -->
|
<!-- 通过ID获取数据 -->
|
||||||
<select id="findById" parameterType="pd" resultType="pd">
|
<select id="findById" parameterType="pd" resultType="pd">
|
||||||
select
|
select
|
||||||
<include refid="Field"></include>
|
<include refid="Field"></include>,
|
||||||
|
v.TRAFFIC_TYPE as `TYPE`
|
||||||
from
|
from
|
||||||
<include refid="tableName"></include> f
|
<include refid="tableName"></include> f
|
||||||
|
LEFT JOIN v_traffic v on v.ID = f.RAW_PLATE_NUMBER
|
||||||
where
|
where
|
||||||
f.ASSIGNED_ID = #{ASSIGNED_ID}
|
f.ASSIGNED_ID = #{ASSIGNED_ID}
|
||||||
and
|
and
|
||||||
|
@ -485,5 +487,14 @@
|
||||||
f.ISDELETE = '0'
|
f.ISDELETE = '0'
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="findByRawVehicleId" parameterType="pd" resultType="pd">
|
||||||
|
select
|
||||||
|
*
|
||||||
|
from
|
||||||
|
<include refid="tableName"></include> f
|
||||||
|
where f.ISDELETE = '0' AND f.CORPINFO_ID = #{CORPINFO_ID}
|
||||||
|
AND f.RAW_PLATE_NUMBER = #{ID}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
@ -140,6 +140,8 @@
|
||||||
ISSCRAP = '1'
|
ISSCRAP = '1'
|
||||||
where
|
where
|
||||||
FREIGHTTRAILER_ID = #{FREIGHTTRAILER_ID}
|
FREIGHTTRAILER_ID = #{FREIGHTTRAILER_ID}
|
||||||
|
AND
|
||||||
|
CORPINFO_ID = #{CORPINFO_ID}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<!-- 修改 -->
|
<!-- 修改 -->
|
||||||
|
@ -220,6 +222,8 @@
|
||||||
inner join bus_corp_info b on f.CORPINFO_ID = b.CORPINFO_ID
|
inner join bus_corp_info b on f.CORPINFO_ID = b.CORPINFO_ID
|
||||||
where
|
where
|
||||||
f.FREIGHTTRAILER_ID = #{FREIGHTTRAILER_ID}
|
f.FREIGHTTRAILER_ID = #{FREIGHTTRAILER_ID}
|
||||||
|
AND
|
||||||
|
f.CORPINFO_ID = #{CORPINFO_ID}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 列表
|
<!-- 列表
|
||||||
|
|
|
@ -462,5 +462,17 @@
|
||||||
and f.ISDELETE = '0'
|
and f.ISDELETE = '0'
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="findByTrailerId" parameterType="pd" resultType="pd">
|
||||||
|
select
|
||||||
|
<include refid="Field"></include>
|
||||||
|
from
|
||||||
|
<include refid="tableName"></include> f
|
||||||
|
where f.ISDELETE = '0'
|
||||||
|
AND
|
||||||
|
f.CORPINFO_ID = #{CORPINFO_ID}
|
||||||
|
AND
|
||||||
|
f.FREIGHTTRAILER_ID = #{FREIGHTTRAILER_ID}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
Loading…
Reference in New Issue