bug
This commit is contained in:
parent
5a88bafd89
commit
264bd77a41
|
|
@ -112,7 +112,7 @@ public class BmProjectInfoController extends BaseController{
|
||||||
public AjaxResult edit(@Validated @RequestBody BmProjectInfo bmProjectInfo)
|
public AjaxResult edit(@Validated @RequestBody BmProjectInfo bmProjectInfo)
|
||||||
{
|
{
|
||||||
|
|
||||||
return toAjax(bmProjectInfoService.updateBmProjectInfo(bmProjectInfo));
|
return bmProjectInfoService.updateBmProjectInfo(bmProjectInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Log(title = "项目管理导出", businessType = BusinessType.EXPORT)
|
@Log(title = "项目管理导出", businessType = BusinessType.EXPORT)
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ public class BmProjectLotController extends BaseController {
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@Validated @RequestBody BmProjectLot bmProjectLot) {
|
public AjaxResult edit(@Validated @RequestBody BmProjectLot bmProjectLot) {
|
||||||
|
|
||||||
return toAjax(bmProjectLotService.updateBmProjectLot(bmProjectLot));
|
return bmProjectLotService.updateBmProjectLot(bmProjectLot);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ import com.bonus.sgzb.common.security.utils.SecurityUtils;
|
||||||
import com.bonus.sgzb.system.api.domain.SysUser;
|
import com.bonus.sgzb.system.api.domain.SysUser;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.collections4.CollectionUtils;
|
import org.apache.commons.collections4.CollectionUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
|
@ -33,6 +34,7 @@ import java.util.stream.Collectors;
|
||||||
@Api(tags = "往来单位")
|
@Api(tags = "往来单位")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/bmUnitInfo")
|
@RequestMapping("/bmUnitInfo")
|
||||||
|
@Slf4j
|
||||||
public class BmUnitInfoController extends BaseController{
|
public class BmUnitInfoController extends BaseController{
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|
@ -106,6 +108,7 @@ public class BmUnitInfoController extends BaseController{
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult unitInfoAdd(@Validated @RequestBody BmUnitInfo bmUnitInfo)
|
public AjaxResult unitInfoAdd(@Validated @RequestBody BmUnitInfo bmUnitInfo)
|
||||||
{
|
{
|
||||||
|
log.info("新增往来单位参数:{}", bmUnitInfo);
|
||||||
return bmUnitInfoService.unitInfoAdd(bmUnitInfo);
|
return bmUnitInfoService.unitInfoAdd(bmUnitInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,5 +21,5 @@ public interface BmProjectInfoMapper {
|
||||||
|
|
||||||
public int deleteProjectInfoById(Long proId);
|
public int deleteProjectInfoById(Long proId);
|
||||||
|
|
||||||
int selectByName(String proName);
|
BmProjectInfo selectByName(String proName);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,5 +20,5 @@ public interface BmProjectLotMapper {
|
||||||
|
|
||||||
public int deleteProjectLotById(Long lotId);
|
public int deleteProjectLotById(Long lotId);
|
||||||
|
|
||||||
int selectByName(String lotName);
|
BmProjectLot selectByName(String lotName);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,5 +26,5 @@ public interface BmUnitInfoMapper {
|
||||||
|
|
||||||
public int deleteUnitInfoById(Long unitId);
|
public int deleteUnitInfoById(Long unitId);
|
||||||
|
|
||||||
Integer selectByName(String unitName);
|
BmUnitInfo selectByName(String unitName);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -82,5 +82,5 @@ public interface SysDicMapper
|
||||||
* @param name
|
* @param name
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
Integer selectByName(String name);
|
SysDic selectByName(String name);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ public interface BmProjectInfoService {
|
||||||
|
|
||||||
public void remove(Long[] proIds);
|
public void remove(Long[] proIds);
|
||||||
|
|
||||||
public int updateBmProjectInfo(BmProjectInfo bmProjectInfo);
|
public AjaxResult updateBmProjectInfo(BmProjectInfo bmProjectInfo);
|
||||||
|
|
||||||
public int deleteProjectInfoById(Long proId);
|
public int deleteProjectInfoById(Long proId);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ public interface BmProjectLotService {
|
||||||
|
|
||||||
public void remove(Long[] proIds);
|
public void remove(Long[] proIds);
|
||||||
|
|
||||||
public int updateBmProjectLot(BmProjectLot bmProjectLot);
|
public AjaxResult updateBmProjectLot(BmProjectLot bmProjectLot);
|
||||||
|
|
||||||
public int deleteProjectLotById(Long lotId);
|
public int deleteProjectLotById(Long lotId);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,8 @@ public class BmProjectInfoServiceImpl implements BmProjectInfoService {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AjaxResult projectInfoAdd(BmProjectInfo bmProjectInfo) {
|
public AjaxResult projectInfoAdd(BmProjectInfo bmProjectInfo) {
|
||||||
int count = bmProjectInfoMapper.selectByName(bmProjectInfo.getProName());
|
BmProjectInfo info = bmProjectInfoMapper.selectByName(bmProjectInfo.getProName());
|
||||||
if (count != 0) {
|
if (StringUtils.isNotNull(info)) {
|
||||||
return AjaxResult.error("新增工程项目名称重复,请重新提交!!!");
|
return AjaxResult.error("新增工程项目名称重复,请重新提交!!!");
|
||||||
}
|
}
|
||||||
return AjaxResult.success(bmProjectInfoMapper.projectInfoAdd(bmProjectInfo));
|
return AjaxResult.success(bmProjectInfoMapper.projectInfoAdd(bmProjectInfo));
|
||||||
|
|
@ -47,8 +47,14 @@ public class BmProjectInfoServiceImpl implements BmProjectInfoService {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int updateBmProjectInfo(BmProjectInfo bmProjectInfo) {
|
public AjaxResult updateBmProjectInfo(BmProjectInfo bmProjectInfo) {
|
||||||
return bmProjectInfoMapper.updateBmProjectInfo(bmProjectInfo);
|
if (StringUtils.isNotEmpty(bmProjectInfo.getProName())) {
|
||||||
|
BmProjectInfo info = bmProjectInfoMapper.selectByName(bmProjectInfo.getProName());
|
||||||
|
if (StringUtils.isNotNull(info) && info.getProId() != bmProjectInfo.getProId()) {
|
||||||
|
return AjaxResult.error("修改工程项目名称重复,请重新提交!!!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return AjaxResult.success(bmProjectInfoMapper.updateBmProjectInfo(bmProjectInfo));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ package com.bonus.sgzb.base.service.impl;
|
||||||
import com.bonus.sgzb.base.domain.BmProjectLot;
|
import com.bonus.sgzb.base.domain.BmProjectLot;
|
||||||
import com.bonus.sgzb.base.mapper.BmProjectLotMapper;
|
import com.bonus.sgzb.base.mapper.BmProjectLotMapper;
|
||||||
import com.bonus.sgzb.base.service.BmProjectLotService;
|
import com.bonus.sgzb.base.service.BmProjectLotService;
|
||||||
|
import com.bonus.sgzb.common.core.utils.StringUtils;
|
||||||
import com.bonus.sgzb.common.core.web.domain.AjaxResult;
|
import com.bonus.sgzb.common.core.web.domain.AjaxResult;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
@ -30,8 +31,8 @@ public class BmProjectLotServiceImpl implements BmProjectLotService {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AjaxResult projectLotAdd(BmProjectLot bmProjectLot) {
|
public AjaxResult projectLotAdd(BmProjectLot bmProjectLot) {
|
||||||
int count = bmProjectLotMapper.selectByName(bmProjectLot.getLotName());
|
BmProjectLot info = bmProjectLotMapper.selectByName(bmProjectLot.getLotName());
|
||||||
if (count != 0) {
|
if (StringUtils.isNotNull(info)) {
|
||||||
return AjaxResult.error("新增标段工程名称重复,请重新提交!!!");
|
return AjaxResult.error("新增标段工程名称重复,请重新提交!!!");
|
||||||
}
|
}
|
||||||
return AjaxResult.success(bmProjectLotMapper.projectLotAdd(bmProjectLot));
|
return AjaxResult.success(bmProjectLotMapper.projectLotAdd(bmProjectLot));
|
||||||
|
|
@ -43,8 +44,14 @@ public class BmProjectLotServiceImpl implements BmProjectLotService {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int updateBmProjectLot(BmProjectLot bmProjectLot) {
|
public AjaxResult updateBmProjectLot(BmProjectLot bmProjectLot) {
|
||||||
return bmProjectLotMapper.updateBmProjectLot(bmProjectLot);
|
if (StringUtils.isNotEmpty(bmProjectLot.getLotName())) {
|
||||||
|
BmProjectLot info = bmProjectLotMapper.selectByName(bmProjectLot.getLotName());
|
||||||
|
if (StringUtils.isNotNull(info) && info.getLotId() != bmProjectLot.getLotId()) {
|
||||||
|
return AjaxResult.error("修改标段工程名称重复,请重新提交!!!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return AjaxResult.success(bmProjectLotMapper.updateBmProjectLot(bmProjectLot));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -46,8 +46,8 @@ public class BmUnitInfoServiceImpl implements BmUnitInfoService {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AjaxResult unitInfoAdd(BmUnitInfo bmUnitInfo) {
|
public AjaxResult unitInfoAdd(BmUnitInfo bmUnitInfo) {
|
||||||
Integer count = bmUnitInfoMapper.selectByName(bmUnitInfo.getUnitName());
|
BmUnitInfo info = bmUnitInfoMapper.selectByName(bmUnitInfo.getUnitName());
|
||||||
if (count != 0) {
|
if (StringUtils.isNotNull(info)) {
|
||||||
return AjaxResult.error("新增往来单位名称重复,请重新提交!!!");
|
return AjaxResult.error("新增往来单位名称重复,请重新提交!!!");
|
||||||
}
|
}
|
||||||
return AjaxResult.success(bmUnitInfoMapper.unitInfoAdd(bmUnitInfo));
|
return AjaxResult.success(bmUnitInfoMapper.unitInfoAdd(bmUnitInfo));
|
||||||
|
|
@ -60,9 +60,11 @@ public class BmUnitInfoServiceImpl implements BmUnitInfoService {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AjaxResult updateBmUnitInfo(BmUnitInfo bmUnitInfo) {
|
public AjaxResult updateBmUnitInfo(BmUnitInfo bmUnitInfo) {
|
||||||
Integer count = bmUnitInfoMapper.selectByName(bmUnitInfo.getUnitName());
|
if (StringUtils.isNotEmpty(bmUnitInfo.getUnitName())) {
|
||||||
if (count != 0) {
|
BmUnitInfo info = bmUnitInfoMapper.selectByName(bmUnitInfo.getUnitName());
|
||||||
return AjaxResult.error("往来单位名称已经存在,请重新修改提交!!!");
|
if (StringUtils.isNotNull(info) && info.getUnitId() != bmUnitInfo.getUnitId()) {
|
||||||
|
return AjaxResult.error("往来单位名称已经存在,请重新修改提交!!!");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return AjaxResult.success(bmUnitInfoMapper.updateBmUnitInfo(bmUnitInfo));
|
return AjaxResult.success(bmUnitInfoMapper.updateBmUnitInfo(bmUnitInfo));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import com.bonus.sgzb.base.domain.BmUnitType;
|
||||||
import com.bonus.sgzb.base.mapper.SysDicMapper;
|
import com.bonus.sgzb.base.mapper.SysDicMapper;
|
||||||
import com.bonus.sgzb.base.service.ISysDicService;
|
import com.bonus.sgzb.base.service.ISysDicService;
|
||||||
import com.bonus.sgzb.common.core.utils.DateUtils;
|
import com.bonus.sgzb.common.core.utils.DateUtils;
|
||||||
|
import com.bonus.sgzb.common.core.utils.StringUtils;
|
||||||
import com.bonus.sgzb.common.core.web.domain.AjaxResult;
|
import com.bonus.sgzb.common.core.web.domain.AjaxResult;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
@ -79,8 +80,8 @@ public class SysDicServiceImpl implements ISysDicService
|
||||||
public AjaxResult insertSysDic(SysDic sysDic)
|
public AjaxResult insertSysDic(SysDic sysDic)
|
||||||
{
|
{
|
||||||
sysDic.setCreateTime(DateUtils.getNowDate());
|
sysDic.setCreateTime(DateUtils.getNowDate());
|
||||||
Integer count = sysDicMapper.selectByName(sysDic.getName());
|
SysDic info = sysDicMapper.selectByName(sysDic.getName());
|
||||||
if (count != 0) {
|
if (StringUtils.isNotNull(info)) {
|
||||||
return AjaxResult.error("新增单位类型名称重复,请重新提交!!!");
|
return AjaxResult.error("新增单位类型名称重复,请重新提交!!!");
|
||||||
}
|
}
|
||||||
return AjaxResult.success(sysDicMapper.insertSysDic(sysDic));
|
return AjaxResult.success(sysDicMapper.insertSysDic(sysDic));
|
||||||
|
|
@ -95,8 +96,8 @@ public class SysDicServiceImpl implements ISysDicService
|
||||||
@Override
|
@Override
|
||||||
public AjaxResult updateSysDic(SysDic sysDic)
|
public AjaxResult updateSysDic(SysDic sysDic)
|
||||||
{
|
{
|
||||||
Integer count = sysDicMapper.selectByName(sysDic.getName());
|
SysDic info = sysDicMapper.selectByName(sysDic.getName());
|
||||||
if (count != 0) {
|
if (StringUtils.isNotNull(info) && info.getId().longValue() != sysDic.getId()) {
|
||||||
return AjaxResult.error("单位类型名称已经存在,请重新修改提交!!!");
|
return AjaxResult.error("单位类型名称已经存在,请重新修改提交!!!");
|
||||||
}
|
}
|
||||||
return AjaxResult.success(sysDicMapper.updateSysDic(sysDic));
|
return AjaxResult.success(sysDicMapper.updateSysDic(sysDic));
|
||||||
|
|
|
||||||
|
|
@ -138,8 +138,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
and a.company_id = #{companyId}
|
and a.company_id = #{companyId}
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="selectByName" resultType="java.lang.Integer">
|
<select id="selectByName" resultType="com.bonus.sgzb.base.domain.BmProjectInfo">
|
||||||
select count(*) from bm_project_info
|
select * from bm_project_info
|
||||||
where
|
where
|
||||||
1 = 1
|
1 = 1
|
||||||
<if test="proName != null and proName != ''">and pro_name = #{proName}</if>
|
<if test="proName != null and proName != ''">and pro_name = #{proName}</if>
|
||||||
|
|
|
||||||
|
|
@ -86,12 +86,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</if>
|
</if>
|
||||||
ORDER BY a.lot_id DESC
|
ORDER BY a.lot_id DESC
|
||||||
</select>
|
</select>
|
||||||
<select id="selectByName" resultType="java.lang.Integer">
|
<select id="selectByName" resultType="com.bonus.sgzb.base.domain.BmProjectLot">
|
||||||
select count(*) from bm_project_lot
|
select * from bm_project_lot
|
||||||
where
|
where
|
||||||
1 = 1
|
1 = 1
|
||||||
<if test="lotName != null and lotName != ''">and lot_name = #{lotName}</if>
|
<if test="lotName != null and lotName != ''">and lot_name = #{lotName}</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="projectLotAdd" parameterType="com.bonus.sgzb.base.domain.BmProjectLot">
|
<insert id="projectLotAdd" parameterType="com.bonus.sgzb.base.domain.BmProjectLot">
|
||||||
insert into bm_project_lot (
|
insert into bm_project_lot (
|
||||||
<if test="lotName != null and lotName != '' ">lot_name,</if>
|
<if test="lotName != null and lotName != '' ">lot_name,</if>
|
||||||
|
|
|
||||||
|
|
@ -171,8 +171,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
AND type_name = #{typeName}
|
AND type_name = #{typeName}
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="selectByName" resultType="java.lang.Integer">
|
<select id="selectByName" resultType="com.bonus.sgzb.base.domain.BmUnitInfo">
|
||||||
select count(*) from bm_unit_info
|
select * from bm_unit_info
|
||||||
where
|
where
|
||||||
1 = 1
|
1 = 1
|
||||||
<if test="unitName != null and unitName != '' ">and unit_name = #{unitName}</if>
|
<if test="unitName != null and unitName != '' ">and unit_name = #{unitName}</if>
|
||||||
|
|
|
||||||
|
|
@ -63,12 +63,13 @@
|
||||||
<include refid="selectSysDicVo"/>
|
<include refid="selectSysDicVo"/>
|
||||||
where id = '0'
|
where id = '0'
|
||||||
</select>
|
</select>
|
||||||
<select id="selectByName" resultType="java.lang.Integer">
|
<select id="selectByName" resultType="com.bonus.sgzb.base.api.domain.SysDic">
|
||||||
select count(*) from sys_dic
|
select * from sys_dic
|
||||||
where
|
where
|
||||||
1 = 1
|
1 = 1
|
||||||
<if test="name != null and name != ''">and name = #{name}</if>
|
<if test="name != null and name != ''">and name = #{name}</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="insertSysDic" parameterType="com.bonus.sgzb.base.api.domain.SysDic">
|
<insert id="insertSysDic" parameterType="com.bonus.sgzb.base.api.domain.SysDic">
|
||||||
insert into sys_dic
|
insert into sys_dic
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ public class PlanManagementController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@ApiOperation("根据id删除计划管理")
|
@ApiOperation("根据id删除计划管理")
|
||||||
@DeleteMapping("/deleteById/{planId}")
|
@DeleteMapping("/deleteById/{planId}")
|
||||||
public AjaxResult addOrUpdate(@PathVariable(name = "计划ID",value = "planId") Long planId){
|
public AjaxResult addOrUpdate(@PathVariable(value = "planId") Long planId){
|
||||||
return AjaxResult.success(planManagementService.deleteById(planId));
|
return AjaxResult.success(planManagementService.deleteById(planId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author lsun
|
* @author lsun
|
||||||
|
|
@ -129,4 +130,9 @@ public class AgreementInfo extends BaseEntity {
|
||||||
private String cost;
|
private String cost;
|
||||||
@ApiModelProperty(value = "结算状态")
|
@ApiModelProperty(value = "结算状态")
|
||||||
private String sltStatus;
|
private String sltStatus;
|
||||||
|
|
||||||
|
/** 导出选中列表 */
|
||||||
|
@ApiModelProperty(value = "导出选中列表")
|
||||||
|
private List<Long> dataCondition;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -121,6 +121,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="projectId != null and projectId != ''">
|
<if test="projectId != null and projectId != ''">
|
||||||
and bp.lot_id = #{projectId}
|
and bp.lot_id = #{projectId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="dataCondition != null and dataCondition.size()>0">
|
||||||
|
AND bai.agreement_id in
|
||||||
|
<foreach collection="dataCondition" item="agreementId" index="index" open="(" separator="," close=")">
|
||||||
|
#{agreementId}
|
||||||
|
</foreach>
|
||||||
|
</if>
|
||||||
ORDER BY bai.agreement_id DESC
|
ORDER BY bai.agreement_id DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -688,6 +688,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="time != null and time != ''">
|
<if test="time != null and time != ''">
|
||||||
and bai.back_time =#{time}
|
and bai.back_time =#{time}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
||||||
|
<![CDATA[AND DATE_FORMAT( bai.back_time, '%Y-%m-%d' ) BETWEEN #{startTime} AND #{endTime} ]]>
|
||||||
|
</if>
|
||||||
GROUP BY bai.id, us.user_name, bai.phone, bpl.lot_name, bui.unit_name, bagi.plan_start_time
|
GROUP BY bai.id, us.user_name, bai.phone, bpl.lot_name, bui.unit_name, bagi.plan_start_time
|
||||||
ORDER BY bai.create_time desc
|
ORDER BY bai.create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue